Skip to content

Commit 96d64a4

Browse files
authored
add id-token for npm trusted publishing
1 parent 0402b5f commit 96d64a4

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
@@ -17,8 +17,11 @@ concurrency:
1717
cancel-in-progress: true
1818

1919
permissions:
20+
id-token: write # to enable use of OIDC (npm trusted publishing and provenance)
2021
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
2122
contents: read # to fetch code (actions/checkout)
23+
issues: write # to be able to comment on released issues
24+
pull-requests: write # to be able to comment on released pull requests
2225

2326
jobs:
2427
validate:

0 commit comments

Comments
 (0)