Describe the feature or problem you’d like to solve
It is now possible to filter PRs by assignee. However, sometimes people are asked to review code but aren't necessarily the assignee, in which case they are requested reviewers. It would be useful to filter the list of PRs based on that information too, so I can easily see which PR need my attention as a reviewer.
Proposed solution
Add an option --pending-reviewer to the filter options to gh pr list. In an ideal world, we would be able to OR it with assignee, so I can list "all PRs that need my attention in some form or another".
PRs for which I am tagged as a reviewer but I have approved already shouldn't show -- which is why the proposed option name would be --pending-reviewer and not --reviewer
How will it benefit CLI and its users?
It is one fewer task that users will need the browser for. At least in our organization, seeing which PRs I should review is an important part of the workflow.
Additional context
Describe the feature or problem you’d like to solve
It is now possible to filter PRs by assignee. However, sometimes people are asked to review code but aren't necessarily the assignee, in which case they are requested reviewers. It would be useful to filter the list of PRs based on that information too, so I can easily see which PR need my attention as a reviewer.
Proposed solution
Add an option
--pending-reviewerto the filter options togh pr list. In an ideal world, we would be able to OR it with assignee, so I can list "all PRs that need my attention in some form or another".PRs for which I am tagged as a reviewer but I have approved already shouldn't show -- which is why the proposed option name would be
--pending-reviewerand not--reviewerHow will it benefit CLI and its users?
It is one fewer task that users will need the browser for. At least in our organization, seeing which PRs I should review is an important part of the workflow.
Additional context