ci: skip auto_review metadata gate for automated release PRs #125
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/emc!125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/skip-auto-review-on-release-prs"
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?
Summary
Stop the
auto_review"PR metadata quality" gate from blocking automatedrelease PRs, while leaving feature PRs fully reviewed.
Rationale
The auto_review gate is tuned for feature PRs. On automated release PRs (a
mechanical version bump + changelog regeneration) it issued contradictory
metadata-quality rationales run-to-run — first demanding a description after the
version, then rejecting that description for not being "concise", etc. — so no
generated release title could satisfy it and every release was blocked.
Branch protection requires the
auto_reviewandCI / Request auto_review semantic reviewstatus checks, so the job cannot simply be skipped (therequired checks would hang). Instead, for
release-plz-*head branches this:auto_reviewstatus assuccessso all required status checks pass. Branch protection still requires one
approval, so a human approves the release PR — but without fighting the gate.
Feature PRs are unchanged:
IS_RELEASE_PRis false, so the originalgateway-request flow runs exactly as before (this PR itself is reviewed
normally).
Verification
scripts/copyright-headers.sh --checkpasses.release-PR path will be exercised by the next release PR.
🤖 Generated with Claude Code
The PR modifies the CI workflow to bypass the
auto_reviewgate for automated release PRs, addressing issues with contradictory metadata checks. The change appears safe to merge as it maintains the original behavior for feature PRs.Walkthrough
IS_RELEASE_PRto identify release PRs based on the branch name.auto_reviewstatus assuccessfor release PRs, ensuring required status checks pass without manual intervention.auto_reviewprocess.auto_reviewgate, while feature PRs continue to be reviewed as before.LLM usage and cost
Estimated total USD: $0.013624 via https://api.openai.com and https://api.openai.com