Skip to content

Commit 5a27756

Browse files
fix: generate provenance statements on release (#244)
Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
1 parent a3dd59e commit 5a27756

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
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)