Skip to content

Commit

Permalink
fix: generate provenance statements on release (#244)
Browse files Browse the repository at this point in the history
Co-authored-by: Yosuke Ota <[email protected]>
  • Loading branch information
MichaelDeBoey and ota-meshi authored Oct 25, 2024
1 parent a3dd59e commit 5a27756
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests

jobs:
lint:
name: ⬣ Lint
Expand Down Expand Up @@ -126,4 +132,5 @@ jobs:
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5a27756

Please sign in to comment.