Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to filter PR search by passing/failing/running CI checks #1806

Closed
Zac-HD opened this issue Feb 22, 2019 · 4 comments · Fixed by #1904
Closed

Add an option to filter PR search by passing/failing/running CI checks #1806

Zac-HD opened this issue Feb 22, 2019 · 4 comments · Fixed by #1904

Comments

@Zac-HD
Copy link

Zac-HD commented Feb 22, 2019

When a project has many open pull requests, just finding one which is ready for review can be tricky. For example, pytest and matplotlib would both find this useful, along with smaller projects. Terrible mockup:

image

I know I'd love to be able to filter down to just the PRs with passing tests to review, or tests+approval to merge, or ... You get the idea. No idea why this doesn't already exist, so Refined Github seemed the place to suggest it 😄

@busches
Copy link
Member

busches commented Feb 22, 2019

Is this something you can search GitHub for?

@fregante
Copy link
Member

fregante commented Feb 23, 2019

Is this something you can search GitHub for?

Yep. It's not even in the help pages or the search page, but it's been there for almost 4 years:

https://github.blog/2015-06-02-filter-pull-requests-by-status/

Example passing: https://github.com/sindresorhus/refined-github/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+sort%3Aupdated-desc+status%3Asuccess

Example failure: https://github.com/sindresorhus/refined-github/pulls?q=is%3Apr+sort%3Aupdated-desc+status%3Afailure+is%3Aclosed

@jarl-dk
Copy link

jarl-dk commented Jul 5, 2021

It's great that the feature exists.

I wonder why this is not documented on https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests

@dannysauer
Copy link

It's currently in the docs, for anyone who stumbles across this.
https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-by-commit-status

@refined-github refined-github locked as resolved and limited conversation to collaborators Jun 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

6 participants
@jarl-dk @busches @fregante @dannysauer @Zac-HD and others