Skip to content

Commit b71bf97

Browse files
committed
Set explicit write permissions for publish step
Signed-off-by: Jordan Borean <[email protected]>
1 parent 7c95792 commit b71bf97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ jobs:
263263

264264
runs-on: ubuntu-latest
265265
permissions:
266-
# IMPORTANT: this permission is mandatory for trusted publishing
267-
id-token: write
266+
id-token: write # Needed for OIDC publishing
267+
contents: read|write # Needed for github-pages-deploy-action and other repo write tasks
268268

269269
steps:
270270
- name: Check out code

0 commit comments

Comments
 (0)