From 575d07384c12a5a66c86bab7947b102f9dc57021 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Mon, 16 Sep 2024 11:10:16 +0200 Subject: [PATCH] feat: generating provenance statements --- .github/scripts/publish-npm.sh | 2 +- .github/workflows/03-publish-packages.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/publish-npm.sh b/.github/scripts/publish-npm.sh index e0e5526bf7..dc1d330619 100644 --- a/.github/scripts/publish-npm.sh +++ b/.github/scripts/publish-npm.sh @@ -41,5 +41,5 @@ do echo "Could not authenticate with $REGISTRY" exit 1 fi - npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz + npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz --provenance done diff --git a/.github/workflows/03-publish-packages.yml b/.github/workflows/03-publish-packages.yml index acef8ef021..a34e00160d 100644 --- a/.github/workflows/03-publish-packages.yml +++ b/.github/workflows/03-publish-packages.yml @@ -20,6 +20,8 @@ jobs: publish: name: Publish latest package versions to GitHub Packages runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: ⬇ Checkout repo uses: actions/checkout@v4