Skip to content

Commit 60c28f9

Browse files
fix: generate provenance statements on release (#245)
1 parent c993b63 commit 60c28f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: .github/workflows/ci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

20+
permissions:
21+
contents: write # to be able to publish a GitHub release
22+
id-token: write # to enable use of OIDC for npm provenance
23+
issues: write # to be able to comment on released issues
24+
pull-requests: write # to be able to comment on released pull requests
25+
2026
jobs:
2127
lint:
2228
name: ⬣ Lint
@@ -126,4 +132,5 @@ jobs:
126132
]
127133
env:
128134
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135+
NPM_CONFIG_PROVENANCE: true
129136
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)