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?
To add default pull request reviewers for a single repository (requires repo admin permissions): Go to Repository settings > Default reviewers. Click Add default reviewers. For the Source branch and Target branch fields, select either Branch name, Branch pattern, Branching model, or Any branch.
At the top of the team page, click Settings. In the left sidebar, click Code review. Select Enable auto assignment. Under "How many team members should be assigned to review?", use the drop-down menu and choose a number of reviewers to be assigned to each pull request.
By default, in public repositories, any user can submit reviews that approve or request changes to a pull request. Organization owners and repository admins can limit who is able to give approving pull request reviews or request changes.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With