Search code examples
githubworkflowpull-request

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?


Solution

  • 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.