Skip to content

Feature: Add ability to ask a re-review of PR from the cli #12489

@VedantMadane

Description

@VedantMadane

Feature Request: Add ability to PR re-review requests

Description

It would be useful to have the ability to re-request reviews for a pull request through the CLI, rather than requesting them manually.
We need to manually click the "Re-request review" button in the GitHub UI. There's no CLI way to do this properly.

Use Case

After pushing commits to PRs through the CLI:

  1. Option: Remove & Re-add Reviewer (Hack)
    gh pr edit 11111 --repo organization/repo --remove-reviewer VedantMadane
    gh pr edit 11111 --repo organization/repo --add-reviewer VedantMadane
    This doesn't always work.

  2. Option : Comment Ping (Alternative)
    gh pr comment 11111 --repo organization/repo --body "@VedantMadane I've addressed your feedback. Ready for another review when you have time!"
    This doesn't technically "re-request" but notifies the reviewer.

  3. Option: Manual UI Click
    Click "Re-request review" button in the PR page
    This is the only "official" way.

  4. Workflow automation: Integrate with CI/CD pipelines that should request re-reviews only after certain conditions are met or commit addresses the raised issue.

Proposed Solution

Add a --re-review flag to gh pr ready:

# Re-review marking PR after ready
gh pr ready <pr-number> --re-review

# Or with review request included
gh pr ready <pr-number> --request-reviewers @user1,@user2 --re-review

Or add a dedicated re-reviewing command:

gh pr re-review <pr-number> --action ready
gh pr re-review <pr-number> --action request-review --reviewers @user1

Alternative Considered

GitHub Actions scheduled workflows could be used, but this requires repository configuration and doesn't work well for cross-repo PR management or one-off scheduling needs.

Additional Context

This feature would complement the existing gh pr ready, gh pr draft, and reviewer management commands, making it easier to manage PR workflows programmatically across different repositories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions