Skip to content

Commit 4872175

Browse files
authored
ci: grant the release workflow the write permission to contents (#5017)
1 parent 0499d9c commit 4872175

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
permissions:
2626
id-token: write
2727
# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps#permission-on-contents
28-
contents: read
28+
# "Releases" is part of `contents`, so it needs the `write`
29+
contents: write
2930

3031
steps:
3132
- name: Install Go

0 commit comments

Comments
 (0)