Skip to content

fix(ci): avoid duplicate main-push CodeQL scans - #254

Merged
vincentkoc merged 2 commits into
mainfrom
fix/codeql-weekly-policy-20261103
Nov 3, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/codeql-weekly-policy-20261103

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Main-push CodeQL repeats scans in a quiet repository, while attribute-only PRs can change checked-out source without triggering analysis.

User Impact

Full weekly Monday 07:23 UTC analysis and PR/manual profile scans remain available. Normal CI, package behavior, deployment, and release workflows are unchanged.

Why This Change Was Made

Remove only the main-push scan, admit root/nested checkout attributes on PRs, and separate scheduled/manual concurrency from superseded PR runs. Both custom query profiles, all action pins, job names, permissions and manual profile choices are preserved. The root policy note records the cadence.

Evidence

  • Actionlint 1.7.12 and git diff --check passed.
  • Full-source independent review and shared P0–P3 review found no actionable issues.
  • Static regression covers weekly/PR/manual admission and concurrency; parsed workflow comparison confirms unchanged jobs and permissions.
  • Exact-head hosted typecheck, lint, format, tests, build/package checks and both CodeQL profiles are required before landing; local dependency-backed tests were not run in the code-only task worktree.

Final proof on 1787bcdc9f8ce69f2f47198631cfe7871c9996b9: CI passed typecheck, lint, format, coverage, package smoke, Windows execution, and Node 22/24 runtime checks; both CodeQL profiles passed. The first head exposed a test-only strict-index typing error; the one-line repair was independently reviewed and passes on this head. The unrelated ClawSweeper intake dispatch failed with Worker HTTP 500; it is not a required check, and no bypass or successful hosted bot review is claimed.

@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review November 3, 2026 12:26
@vincentkoc
vincentkoc requested a review from a team as a code owner November 3, 2026 12:26
@vincentkoc
vincentkoc merged commit 9281c85 into main Nov 3, 2026
10 of 11 checks passed
@vincentkoc
vincentkoc deleted the fix/codeql-weekly-policy-20261103 branch November 3, 2026 12:30
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