chore: request Copilot review explicitly in the PR commands - #98
Merged
Merged
Conversation
The "Copilot review" branch ruleset (auto-request on PR open + review_on_push) was deleted, so Copilot is no longer requested automatically. Update fix-issue (Step 9) and resolve-pr-reviews (Phase 1 + Phase 7) to request Copilot explicitly via `gh api ... requested_reviewers` against the current head, instead of assuming the ruleset does it on open/push.
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 & why
The "Copilot review" branch ruleset (which auto-requested Copilot on PR open and re-reviewed each push to PRs into
main) was deleted — it proved unreliable (it silently didn't re-review a push on #95) and we'd rather drive Copilot deterministically from the workflow commands.This updates the two PR commands to request Copilot explicitly via the API instead of assuming the ruleset handles it.
Changes
.claude/commands/fix-issue.md(Step 9): after opening the PR, request Copilot viagh api ... requested_reviewers -f "reviewers[]=copilot-pull-request-reviewer[bot]"(was: "opening the PR already requested Copilot automatically")..claude/commands/resolve-pr-reviews.md:Both note the prerequisites (Copilot code-review access + premium-request quota) and to surface failures in the recap rather than retrying.
Recovery note
If the ruleset is ever wanted back, it was: target
branch, conditionrefs/heads/main, rulecopilot_code_reviewwithreview_on_push: true,review_draft_pull_requests: false, enforcementactive.🤖 Generated with Claude Code