Skip to content

Run CodeQL in the local audit - #62

Merged
norman-abramovitz merged 4 commits into
masterfrom
add-codeql-target
Oct 28, 2026
Merged

norman-abramovitz merged 4 commits into
masterfrom
add-codeql-target

Conversation

@norman-abramovitz

@norman-abramovitz norman-abramovitz commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Adds CodeQL to make audit for local runs.

  • Re-vendors mk/security.mk for the new make codeql target, from
    Add a CodeQL scan target to security.mk norman-abramovitz/GNUMakefile-Snippets#12 (merged). The vendored copy is
    byte-identical to upstream main at f386def.
  • audit: security modrot codeql, so a contributor's pre-PR audit
    covers what code scanning will report.
  • CI's audit job runs make security modrot instead: codeql.yml
    already analyzes every PR and uploads to code scanning.
  • Release-notes fragment for maintainers under [Chores].
  • Sweeps changelog.d/0001-dependency-updates.md, published in the
    v1.24.5 notes.

Locally: make audit passes (CodeQL: no findings, ~17s total),
make actionlint and make changelog-check pass.

0001-dependency-updates was published in the v1.24.5 notes.
changelog-sweep left the removal staged so it rides this PR rather
than a direct push to master.
Picks up make codeql: the go-code-scanning suite code scanning
uses, failing on any finding, with the database built without the
build tracer so it runs on Apple Silicon without Rosetta. The
vendored copy is byte-identical to GNUMakefile-Snippets f386def.
make audit now ends with codeql, so a contributor's pre-PR audit
covers what code scanning will report. CI's audit job runs
make security modrot instead: codeql.yml already analyzes every
PR and uploads to code scanning, and installing the CLI there
would only repeat it.
Tells future maintainers that make audit now runs CodeQL, what it
needs locally, and why CI's audit job skips it.
@norman-abramovitz
norman-abramovitz merged commit 2eb3546 into master Oct 28, 2026
6 checks passed
@norman-abramovitz
norman-abramovitz deleted the add-codeql-target branch October 28, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant