Skip to content

Commit c9f903a

Browse files
authored
Move specific permission to job
1 parent e944dc6 commit c9f903a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ on:
66

77
permissions:
88
contents: read
9-
id-token: write
109

1110
jobs:
1211
publish-npm:
1312
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
1415
steps:
1516
- name: Checkout code
1617
uses: actions/checkout@4.2.2

0 commit comments

Comments
 (0)