Skip to content

Commit c4ba38e

Browse files
committed
feat(workflow): Add permissions for contents and id-token in npm-publish.yml
1 parent 25758db commit c4ba38e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
publish:
1313
runs-on: ubuntu-latest
1414
needs: check
15+
permissions:
16+
contents: read
17+
id-token: write
1518

1619
steps:
1720
- name: Checkout code

0 commit comments

Comments
 (0)