Move CodeQL analysis to release PRs only #338
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore#338
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
CodeQL analysis runs on every PR and takes significant CI time. It has not surfaced any issues that our existing checks (clippy, cargo-audit, tests) don't already catch. Running it on every PR adds latency without providing additional value.
Desired Behavior
Apply the same pattern used for mutation testing (see #336): the
Analyze (rust)job runs on every PR but is a noop unless the PR has thereleaselabel. On release PRs it runs the full CodeQL analysis.This keeps the required status check satisfied on all PRs while only doing real work on releases.
Acceptance Criteria
release)Analyze (rust)required status check continues to work without ruleset changes