Skip to content

Commit ba51b5c

Browse files
committed
Fix missing GitHub token permission in Release workflow
Signed-off-by: nscuro <nscuro@protonmail.com>
1 parent 6177105 commit ba51b5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci-release.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
3939
create-release:
4040
runs-on: ubuntu-latest
41+
permissions:
42+
# Required for pushing changes via git command (rather than via GitHub API).
43+
# TODO: Use bot credentials for git, or rewrite the "Commit Version" step to use API instead.
44+
contents: write
4145
needs:
4246
- prepare-release
4347

0 commit comments

Comments
 (0)