Skip to content

Commit 26681b8

Browse files
committed
added id-token to release wf
fixes error 'Provenance generation in GitHub Actions requires "write" access to the "id-token" permission' as per doc: https://docs.npmjs.com/generating-provenance-statements
1 parent f14372a commit 26681b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
publish:
99
runs-on: ubuntu-20.04
10+
permissions:
11+
contents: read
12+
id-token: write
1013

1114
steps:
1215
- name: Clone repo

0 commit comments

Comments
 (0)