Skip to content

Commit c1ef82c

Browse files
authored
ci: generate provenance statements when release (#579)
1 parent 408eabd commit c1ef82c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
permissions:
1010
contents: write
1111
pull-requests: write
12+
id-token: write
1213
steps:
1314
- uses: google-github-actions/release-please-action@v3
1415
id: release
@@ -37,7 +38,7 @@ jobs:
3738
if: ${{ steps.release.outputs.release_created }}
3839
- run: |
3940
npm install
40-
npm publish
41+
npm publish --provenance
4142
env:
4243
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4344
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)