Skip to content

Commit f81244d

Browse files
authored
BASTION-9 | the id-token: write permission, which allows GitHub Actions to generate OIDC tokens (#134)
1 parent c16b7fc commit f81244d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/npmpublish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
release:
88
types: [created]
99

10+
permissions:
11+
id-token: write # Required for OIDC / trusted publishing
12+
contents: read
13+
1014
jobs:
1115
publish-npm:
1216
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)