Commit 08498fc
Add explicit workflow write permissions for GITHUB_TOKEN (#6930)
## Summary
- add explicit `contents: write` and `pull-requests: write` permissions
to `update-kube-stack-version.yml`
- add explicit `issues: write` permissions to `add-new-team-label.yml`
- keep both workflows compatible with a read-only default `GITHUB_TOKEN`
## Test plan
- [x] Reviewed both workflows to confirm they write through
`GITHUB_TOKEN`
- [x] Verified the diff only adds the required explicit permissions
- [ ] Optional: run the workflows in GitHub after merge or in a test
branch if you want runtime confirmation
Made with [Cursor](https://cursor.com)
---------
Co-authored-by: OpenAI <noreply@openai.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent e541864 commit 08498fc
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
0 commit comments