improvement(ci): run the CodeQL cron weekly and cancel superseded scans - #6406
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview The scheduled scan moves from daily ( Concurrency now sets Reviewed by Cursor Bugbot for commit fb8f639. Configure here. |
Greptile SummaryThe PR reduces scheduled CodeQL scans from daily to weekly and allows newer runs on the same ref to cancel superseded scans.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| .github/workflows/codeql.yml | Updates CodeQL scheduling and concurrency behavior; the previously flagged comments have been removed and no related defect remains. |
Reviews (2): Last reviewed commit: "improvement(ci): run the CodeQL cron wee..." | Re-trigger Greptile
0076078 to
fb8f639
Compare
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit fb8f639. Configure here.
Summary
$cron-weekly. Daily crons upstream belong to repos where the cron is the only trigger.cancel-in-progressis now unconditional instead of PR-only. Main pushes were serializing: run 31089722455 finished at 11:29:21 and the next run's jobs were created at exactly 11:29:21, so a merge sat queued ~31 min before its ~50 min scan even started. Only the newest analysis of a ref feeds the alert view, so superseded runs are safe to drop. Upstream repos that set concurrency at all use a plaintrue.Kept the
push: [main]trigger — it's what the PR scans diff against, and dropping it would degrade the PR analyses, not just staleten the dashboard. Left the PR-sidepathsfilter alone.Type of Change
Testing
Verified the YAML parses and the triggers resolve as intended (
push: [main],pull_request: [main, staging]with the paths filter intact, single weekly cron,cancel-in-progress: true). Trigger behavior itself only exercises once this is on the default branch.Checklist