From 6e56c4cca7917d390c9d8094fdd8dcf0533b0445 Mon Sep 17 00:00:00 2001 From: Robert Hebel Date: Fri, 7 Aug 2026 09:34:30 +0200 Subject: [PATCH] ci: enable npm provenance for package releases --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 015651958f8..bc08c6352b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write + id-token: write steps: - name: Checkout uses: actions/checkout@v7 @@ -66,6 +69,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: true - name: Release failed if: ${{ steps.semantic.outputs.new_release_published == 'false' }}