Commit a8b94bd
authored
ci: add advanced CodeQL workflow (replaces default setup) (#128)
## Summary
- GitHub default setup for code scanning (analyzing `actions`,
`javascript-typescript`, `rust` with the `default` query suite,
`remote_and_local` threat model, weekly schedule) was disabled today
(2026-07-20).
- The main branch ruleset has a `code_scanning` rule requiring CodeQL
results (alerts_threshold: errors, security_alerts_threshold:
high_or_higher), so a committed advanced workflow is needed to keep that
gate satisfied on PRs.
- Adds `.github/workflows/codeql.yml`: a matrix job over `actions`,
`javascript-typescript`, `rust` (all `build-mode: none`), triggered on
push to main, pull requests into main, and a weekly Monday 09:30 UTC
schedule.
- `threat-models: [remote, local]` is set via the `init` step's `config`
input to match the prior default-setup threat model.
- Analysis `category` stays in the `/language:<lang>` form so the 11
previously-dismissed Rust test-code false positives continue to match
and their dismissals carry over.
## Test plan
- [x] `actionlint .github/workflows/codeql.yml` passes clean
- [x] File uses LF line endings (verified via `git ls-files --eol`), no
em-dashes
- [ ] Confirm the `code_scanning` ruleset check is satisfied once this
workflow runs on the PR
- [ ] Confirm the 11 previously-dismissed Rust alerts remain dismissed
after the first advanced-workflow analysis
Generated with Claude Code
https://claude.ai/code/session_01QZQVP2tUuTLh8oL31D8heC1 parent b938756 commit a8b94bd
1 file changed
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments