As a user, I'd like an option to exclude pull requests with failing check (CI) status from my reminders
People submit WIP or (unfortunately) horribly broken code all the time by looking at the status checks we can determine if its worth pinging a user or the team or wait for the submitter to fix the code. In a way its some ways it's the reverse of #69
This is somewhat of a dupe of https://github.com/pullreminders/backlog/issues/68, which I am closing, but please check it out because you left a comment there.
This is also related to https://github.com/pullreminders/backlog/issues/69, although less so for open-source since I'm guessing most of your pull request authors aren't going to be using Pull Reminders to help them catch failed checks, right?
@majormoses I updated the title of this issue, let me know if it looks right to you
So at work I'd like to avoid getting pinged about stuff that's failing, they can always hit me up in slack to get help. For OSS projects where users don't necessarily have an easy line of communication outside of github to maintainers to reach out for help.
@majormoses So, one temporary workaround could be if you had a bot that automatically added and removed a "checks-failing" label from pull requests. Then you could just exclude that label in your Pull Reminders settings, right?
So it would require two components in order to work in its current state:
- when a PR is opened it would be auto labeled with something like
ci: runningand create a filter for this - When CI passes the previously applied label would be removed, in the event of a failure we would need to remove the previous label and add apply another label with something like
ci: failingand create a filter for this
This seems like a lot of coordination that needs to happen which is why it would be nice to simply look at the status since it should be able to be pulled via an API.