Repository navigation
Commit ddee077
authored
fix(ci): allow CodeQL to upload scan results (#220)
CodeQL completes analysis on `main` but cannot upload its results,
leaving CI red with `Resource not accessible by integration`. Grant the
security job `security-events: write` for the upload and `contents:
read` for checkout, so it no longer relies on repository-default token
permissions.
Validated with `actionlint .github/workflows/test.yml` and `git diff
--check`. The previously failing push-to-main upload will need
verification after merge.
> Written by GPT-6 on Codex1 parent f9af585 commit ddee077
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments