Skip to content

docs: clarify that gh pr edit --add-reviewer can re-request reviews#13021

Merged
BagToad merged 3 commits intocli:trunkfrom
joshjohanning:add-reviewer-re-request-docs
Mar 24, 2026
Merged

docs: clarify that gh pr edit --add-reviewer can re-request reviews#13021
BagToad merged 3 commits intocli:trunkfrom
joshjohanning:add-reviewer-re-request-docs

Conversation

@joshjohanning
Copy link
Copy Markdown
Contributor

The gh pr edit --add-reviewer flag on pr edit already supports re-requesting reviews from reviewers who have already submitted their review, but this wasn't documented in the help text. I think this would help others (and AI tools) who otherwise assume --add-reviewer means ADD reviewer if they don't exist, not re-request review if they've already been added and submitted a review. I have been using this to re-request Copilot Code Review runs on a PR gh pr edit --add-reviewer @copilot.

I don't think this PR closes the following issues, but they at least reference this.

Ref #12489
Ref #2053

The --add-reviewer flag on pr edit already supports re-requesting
reviews from reviewers who have already submitted their review,
but this wasn't documented in the help text.

Ref cli#12489
Ref cli#2053
@github-actions
Copy link
Copy Markdown

Thanks for your pull request! Unfortunately, it doesn't meet the minimum requirements for review:

  • None of the referenced issues have the help wanted label

Please update your PR to address the above. Requirements:

  1. Include a detailed description of what this PR does
  2. Link to an issue with the help wanted label (use Fixes #123 or Closes #123 if it resolves the issue)

This PR will be automatically closed in 7 days if these requirements are not met.

@github-actions github-actions bot added external pull request originating outside of the CLI core team needs-triage needs to be reviewed labels Mar 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clarifies gh pr edit --add-reviewer help text to document that it can be used to re-request reviews from reviewers who have already reviewed a PR, aligning the CLI documentation with existing behavior.

Changes:

  • Updated --add-reviewer flag help text to mention re-requesting reviews from previous reviewers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BagToad BagToad self-requested a review March 24, 2026 15:06
@BagToad BagToad removed needs-triage needs to be reviewed unmet-requirements labels Mar 24, 2026
Add comment headers to group examples by concern (title/body, labels,
reviewers, assignees, projects/milestones), matching the style used by
other commands like pr review and repo create. Also adds examples for
--body-file and re-requesting review via --add-reviewer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
applying @BagToad's suggestion to simplify the wording to avoid line wrapping

Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
@BagToad BagToad changed the title docs: clarify that gh pr edit --add-reviewer can re-request reviews docs: clarify that gh pr edit --add-reviewer can re-request reviews Mar 24, 2026
@BagToad BagToad enabled auto-merge March 24, 2026 15:38
@BagToad BagToad merged commit b046d20 into cli:trunk Mar 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants