Skip to content

Commit

Permalink
ci: adjust for provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Dec 7, 2024
1 parent b2c1201 commit fd57cb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
release:
name: 'Release: Publish to NPM'
permissions:
contents: read # for checkout
id-token: write # to enable use of OIDC for npm provenanc
if: always() && github.event.inputs.release == 'true' && github.event.inputs.dryrun == 'false'
runs-on: ubuntu-latest
steps:
Expand All @@ -67,3 +70,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit fd57cb4

Please sign in to comment.