Skip to content

Commit 0577aa1

Browse files
authored
ci: add contents:write permission for release job (#803)
GoReleaser needs contents:write to create GitHub releases and upload assets. Without it, the GITHUB_TOKEN defaults to none for contents when job-level permissions are specified.
1 parent 65a02bb commit 0577aa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
make test coverage
3737
release:
3838
permissions:
39+
contents: write
3940
id-token: write
4041
packages: write
4142
needs: build

0 commit comments

Comments
 (0)