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