Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I filter pull requests that are not yet approved

Tags:

github

I'd like to see a list of pull requests that I'm assigned to review that are not yet approved.

I can see using the filter box which PR's I'm assigned to with

is:open is:pr assignee:MyId

what can I add to reduce the list of PRs to those not yet approved? Does new approval review feature have a field name I can filter on and pair with 'NOT'?

like image 811
claya Avatar asked Oct 18 '22 21:10

claya


1 Answers

Dec 2016: That does not seem to be available
Update February 2017: The approved status is now part of the search criteria.

Filter pull requests that a reviewer has approved: state:open type:pr review:approved

You can search based on the state of an issue or pull request:

You can filter pull requests based their review status (none, required, approved, changes requested, or required), by reviewer, and by requested reviewer.

type:pr review:approved: will Match pull requests that a reviewer has approved.

See "Filter pull request reviews and review requests" (January 23d, 2017)

To make it easier to find the pull requests that need your attention, you can now filter by review status from your repository pull request index.

https://cloud.githubusercontent.com/assets/1319791/22212644/7711bef8-e15f-11e6-8331-5973635cd6ee.png

Note though that the Pull Request API does not mentioned an approved state.
Nor does the List reactions for a pull request review comment.

like image 62
VonC Avatar answered Oct 21 '22 09:10

VonC