Repository navigation
fix(ci): batch main CodeQL scans hourly - #298
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Frequent docs synchronization starts a full CodeQL scan for every main push. The repository recorded 1,242 default-branch runs between October 27 and November 3.
Why This Change Was Made
Run full main analysis hourly at minute 11 UTC instead. Keep unrestricted PR and manual scans, protect running scheduled scans, and cancel superseded PR scans. Add the one-line
.ci-policy.mdexplanation. Languages, queries, action pins, permissions, analysis names, and deployment workflows are unchanged.User Impact
Fewer duplicate main scans while PR security checks remain enabled. GitHub may delay scheduled runs; the cadence is not a completion deadline. No product release or deployment is triggered by these paths.
Evidence
actionlint .github/workflows/codeql.ymlandgit diff --checkpassed.81ee77fce4aa64493d0ec1bdf0be4f30a8d92d4e. Scheduled execution will be observed after merge.