Repository navigation
fix(ci): skip branch naming and PR description checks for bot PRs - #1227
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
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
Adds a job-level
if:condition to thebranch-namingandpr-templatejobs inpr-checks.ymlso they are skipped for pull requests opened by bots (dependabot[bot],renovate[bot],github-actions[bot], plus legacyapp/*forms). The condition is copied verbatim from the proven allowlist already shipped incla-check.yml(#1148), so the bot list stays consistent across workflows.Why
Every dependabot PR currently fails exactly two required checks:
dependabot/cargo/...) cannot follow thetype/topicconvention by design.These failures are structural (impossible for the bot to fix), not code problems — they turn every routine dependency PR
UNSTABLE/BLOCKEDand add merge friction. #1205 additionally satBLOCKEDafter a transient Cora Review infra error. Real examples: #1204, #1205, #1206, #1207 (all merged today with these cosmetic reds).Testing
if:expression is byte-identical to the one merged incla-check.yml(fix(ci): CLA check skips bot PRs with exact allowlist (#1132) #1148), which is proven in production on every dependabot PR since 2026-08-29 (cla-check SKIPPED for bots, as intended).