Skip to content

Commit 4364ff0

Browse files
authored
Add required permission for npm trusted publishing
See https://docs.npmjs.com/trusted-publishers#supported-cicd-providers. Migrating away from direct api tokens.
1 parent a68c5b5 commit 4364ff0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test-release-sync.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ jobs:
155155
name: Release
156156
needs: ["checks", "build"]
157157
permissions:
158+
id-token: write
158159
contents: write
159160
pull-requests: write
160161
if: "success() && github.event_name == 'push'"

0 commit comments

Comments
 (0)