Reputation: 1804
Github added reviewers.
Is there a way to find PRs (e.g. on the Pull Requests page) where the user is a reviewer? Things I have already tried:
Checked https://help.github.com/articles/searching-issues/ for a filter:
None found
Tested potential filters reviewer:{{user}}, review:{{user}}
No PRs returned
Tested the involved:{{user}} filter
PRs with the user as only a reviewer are not shown in results.
Upvotes: 56
Views: 46237
Reputation: 3038
I just came across this, because I wanted to search for PRs that got a review from a specific user.
is:pr reviewed-by:USERNAME
Filter pull requests by reviewer:
state:open type:pr reviewed-by:octocat
Upvotes: 6
Reputation: 1043
You have now also access to is:open is:pr user-review-requested:@me
that is a little different from the others because it will only filter the PRs you are explicitly asked as a reviewer (team review dont count).
Upvotes: 5
Reputation: 1295
It looks like the easiest way, nowadays, to get this information, is to simply navigate to:
https://github.com/pulls/review-requested
Upvotes: 6
Reputation: 1804
As of 2017-01-23, Github have added this functionality.
You can filter pull requests based their review status (none, required, approved, changes requested, or required), by reviewer, and by requested reviewer. For example:
type:pr review:none Matches pull requests that have not been reviewed.
type:pr review:required Matches pull requests that require a review before they can be merged.
type:pr review:approved Matches pull requests that a reviewer has approved.
type:pr review:changes_requested Matches pull requests in which a reviewer has asked for changes.
type:pr reviewed-by:gjtorikian Matches pull requests reviewed by a particular person.
type:pr review-requested:benbalter Matches pull requests a particular person has been asked to review.
A new tab can be seen on personal PR page https://github.com/pulls
A new filter can be seen on the project PR page e.g. https://github.com/symfony/symfony/pulls
Upvotes: 89