Commit 9af9578
authored
Grant workflows permission to CD release workflow (#407)
The release workflow pushes version-bumped workflow files back to main,
which requires the workflows permission. Without an explicit permissions
block, GITHUB_TOKEN is issued without workflows: write, causing the push
to be rejected. Use a minimal explicit permissions set (contents: write,
workflows: write, pull-requests: read, issues: read, statuses: read,
checks: read) rather than write-all.1 parent 1285054 commit 9af9578
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
0 commit comments