Keep the security scanners honest as the codebase grows (#40)
3650e19ae17a61ba86c1283ab5d64b5b36bf9459
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
- Parent 1: d1d7f4b5e5c9
## What forced this A forward review of CodeQL + DevSkim against what the repo *will* be (Rust workspace, Lua plugins, an Astro `site/`). One real inconsistency today: DevSkim has no path exclusion, so it scans the ~75 committed prototype sources (SPEC §18, disposable) that CodeQL already excludes — the Security tab would fill with throwaway-code findings. ## The call Give DevSkim the same prototype exclusion via its `ignore-globs` input (keeping the action's `.git`/`bin` defaults), and stop both scanners triggering on prototype-only changes. ## What we deliberately didn't do Didn't re-add `rust`/`javascript-typescript` to CodeQL — no source exists to analyze yet. Left a dated re-add checklist inline instead, including the load-bearing rule that code scanning must stay **alerts-only**: each language added shifts the produced result-count, and pairing that with a required-results merge rule re-creates the "expecting N results" deadlock (#17). ## Evidence `ignore-globs` confirmed against the action's `action.yml` (default `**/.git/**,**/bin/**`); `target/` is gitignored so never checked out (listed defensively). Path negations resolve correctly through the existing YAML anchors. ## Surface touched `.github/workflows/codeql.yml` + `.github/workflows/devskim.yml` (triggers, exclusions, re-add notes). ## If this ages badly When Rust/site land, follow the inline checklist; if scanner noise persists, widen `ignore-globs`. Nothing here is a required check, so it cannot wedge a merge. --- _Generated by [Claude Code](https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB)_ Co-authored-by: Claude <noreply@anthropic.com>