Skip to content

Commit 4ace2f9

Browse files
sylveonSaijin-Naib
authored andcommitted
Change permissions to allow write access for contents
#1999 added granular permissions to grant `id-token: write` (which isn't granted by default). When doing this, I also added `contents: read` because granular permissions overwrite repo-level permissions, and not having it prevented the workflow from cloning its own repo. However, the `svenstaro/upload-release-action` action requires `contents: write`, which the pipeline no longer had. Change `contents` to `write` (which implies `read`) to fix that.
1 parent 70555d0 commit 4ace2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- v*
99

1010
permissions:
11-
contents: read
11+
contents: write
1212
id-token: write
1313

1414
jobs:

0 commit comments

Comments
 (0)