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' }}