You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
And I would get a list of all pull requests in my organization assigned to me. But now github has split reviewers from assignees, and my team uses the first one on the list which is reviewers. gh does not have an arg to filter by reviewer currently.
Can this be added? e.g.
gh pr --list --all --org={my_org} --reviewer={me}
The text was updated successfully, but these errors were encountered:
@mikedfunk That seems like a helpful way to filter PRs.
I am in the process of completely rewriting gh to use TypeScript and Github's new GraphQL api.
Adding the ability to filter by reviewer would probably quite trivial at that point (but I am estimating that the release won't be for at least several months).
If you would be willing to send a PR though against our master branch, I would likely merge your work.
Otherwise I will add this to the v2 release.
On second thought, this doesn't seem to be as trivial as I imagined.
If you take a look at https://developer.github.com/v4/explorer/ and search for "pullrequests" in the docs and click on the "pullRequests" part of "Repository.pullRequests".
You will notice that we cannot filter on Github's api by the reviewer. So although it is possible, we would have to perform the filtering on our end.
I used to do
And I would get a list of all pull requests in my organization assigned to me. But now github has split
reviewers
fromassignees
, and my team uses the first one on the list which isreviewers
. gh does not have an arg to filter by reviewer currently.Can this be added? e.g.
The text was updated successfully, but these errors were encountered: