Skip to content

Commit 3298e50

Browse files
authored
chore(npm): improve transparency by adding provenance (#3029)
1 parent 3a2ef50 commit 3298e50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
- master
55
workflow_dispatch:
66
name: release-please
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
id-token: write
711
jobs:
812
release-please:
913
runs-on: ubuntu-latest
@@ -34,7 +38,7 @@ jobs:
3438
- run: npm ci
3539
if: ${{ steps.release.outputs.release_created }}
3640

37-
- run: npm publish
41+
- run: npm publish --provenance
3842
if: ${{ steps.release.outputs.release_created }}
3943
env:
4044
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)