Skip to content

Commit

Permalink
fix: generate provenance statements on release (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Oct 25, 2024
1 parent 45bac7d commit 522acb8
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 (ESLint@${{ matrix.eslint }})
Expand Down Expand Up @@ -128,4 +134,5 @@ jobs:
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 522acb8

Please sign in to comment.