Commit 2d78331
committed
Add top-level permissions to CodeQL workflow
FIX: Missing workflow-level permissions causing PR write failures
- Added top-level permissions section to codeql.yml workflow
- Ensures pull-requests: write is available at workflow level
- Maintains existing job-level permissions for compatibility
PERMISSIONS ADDED:
- actions: read
- contents: read
- security-events: write
- pull-requests: write
This resolves the 'Unable to write summary to pull-request' warning
by ensuring permissions are available at both workflow and job levels.1 parent 8ecfb3e commit 2d78331
1 file changed
Lines changed: 6 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 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
0 commit comments