Skip to content

chore: request Copilot review explicitly in the PR commands - #98

Merged
PiVortex merged 1 commit into
mainfrom
chore/commands-explicit-copilot-request
Jun 17, 2026
Merged

PiVortex merged 1 commit into
mainfrom
chore/commands-explicit-copilot-request

Conversation

@PiVortex

Copy link
Copy Markdown
Collaborator

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 via gh api ... requested_reviewers -f "reviewers[]=copilot-pull-request-reviewer[bot]" (was: "opening the PR already requested Copilot automatically").
  • .claude/commands/resolve-pr-reviews.md:
    • Phase 1 (missing/stale reviewer guidance): re-request Copilot via the API (or the ↻ in the Reviewers panel) instead of "push a commit / it reviews on push".
    • Phase 7 (pushed-commits path): explicitly re-request both Claude (comment) and Copilot (API) against the new head, and the prose note reflects that.

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, condition refs/heads/main, rule copilot_code_review with review_on_push: true, review_draft_pull_requests: false, enforcement active.

🤖 Generated with Claude Code

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.
@PiVortex
PiVortex merged commit fb5a48d into main Jun 17, 2026
7 checks passed
@PiVortex
PiVortex deleted the chore/commands-explicit-copilot-request branch June 17, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant