Is it possible to configure required status checks in a repo to say “all GitHub Actions tasks must pass”, instead of needing to select individual GitHub Actions tasks by name?
This is how Travis, CircleCI, AppVeyor, and Azure DevOps integrations with GitHub all work…the default behavior is that all tasks must pass, and you can selectively mark tasks as optional.
I’d like to be able to have an administrator set this one time and not have to change it every time we change our GitHub Actions flow.
Consider the screenshot below:
This is taken from a pull request in a project I’m working on. The
master branch of that repository has a GitHub Actions workflow with 4 tasks. A repo administrator has manually marked each of them as required, following the steps in “About required status checks”. You can see, for example, that a task
r-package (macOS-latest, clang) is required.
The pull request I’m proposing changes that GitHub Actions workflow, such that there is no longer a task called
r-package (macOS-latest, clang). I am now in a situation where the pull request can’t be merged by maintainers because it looks like the required tasks never ran, and there a bunch of new non-required tasks that passed. See https://github.com/microsoft/LightGBM/pull/3065#issuecomment-642887012 for more background.
Thanks for the time and consideration!