Skip to content

Commit 77ee4f2

Browse files
committed
Add permissions for NPM OIDC publish
1 parent cfb4dcd commit 77ee4f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cdp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
release:
77
types: [created]
88

9+
permissions:
10+
contents: read
11+
id-token: write
12+
913
jobs:
1014
continuous-deployment:
1115
name: Continuous Deployment
@@ -26,4 +30,4 @@ jobs:
2630
run: npm ci
2731

2832
- name: Publish Package
29-
run: npm publish
33+
run: npm publish --access public

0 commit comments

Comments
 (0)