Andrew Grimm
Andrew Grimm

Reputation: 81450

Adding a Reviewer to a GitHub Pull Request

In bitbucket, I can add reviewers to a pull request, indicating that I'd like them to review the request. How can I do the same on GitHub?

The only thing I see is "Assignee", which is only for one person. Do I have to ping them in the pull request message and/or a PR comment?

Upvotes: 23

Views: 77171

Answers (3)

VonC
VonC

Reputation: 1323363

Since Dec. 2016, there is a more integrated way to notify the people you want for reviewing your PR.
See "Introducing review requests"

You can now request a review explicitly from collaborators, making it easier to specify who you'd like to review your pull request.

You can also see a list of people who you are awaiting review from in the pull request page sidebar, as well as the status of reviews from those who have already left them.

gif of requesting review from sidebar

As noted in the comments by Alexander Amelkin:

This feature is only for the owner of the repository, not for the author of the pull request.
The pull request author still can't request anyone to review his request.
The only way is to mention the person in a comment.


Mr. Duhart adds in the comments

To be more precise, the option to add a reviewer is disabled for the read permission (which the author of a PR from a fork would be): cf. Repository roles for an organization / Further reading.

Upvotes: 27

AJ-
AJ-

Reputation: 1157

On Pull Request you can assign a team as a reviewer and the appropriate notifications go out. However, as soon as a review is posted, the team is removed from the “requested reviewers” field and replaced with the user that submitted a review.

Upvotes: 1

David Figueroa
David Figueroa

Reputation: 199

Yes, in Github you only can assign a PR to one person. And if you want to notify more people, mention them in the comments.

Upvotes: 1

Related Questions