Commit 09f1d71
Fix issue analyzer workflow: add projects:write permission to GITHUB_TOKEN
The workflow was failing with "Could not resolve to a ProjectV2 with the number 7"
because GITHUB_TOKEN lacked the `projects: write` permission needed to access
GitHub Projects V2 (org-level) via the GraphQL API.
Added `projects: write` to both the top-level and job-level permissions so that
the GITHUB_TOKEN has the necessary scope to query and update the org project.
Co-authored-by: einari <134365+einari@users.noreply.github.com>1 parent f981d64 commit 09f1d71
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments