Keeping status checks up to date would be easier if the required status checks could be a wildcard #12377
Replies: 2 comments 11 replies
-
Thanks @leighmcculloch - I can see how this would be useful indeed. I'll make sure that this is on the backlog. |
Beta Was this translation helpful? Give feedback.
-
There are a lot of related discussions, as well as workarounds and community solutions around this. I can recommend https://github.com/upsidr/merge-gatekeeper (referred in https://github.com/orgs/community/discussions/26251) that allows you to specify a single workflow that will fail if any of the other checks triggered on a commit fails. It basically acts as a wildcard would, but it also allows you to explicitly specify workflows/checks to ignore (ie ones you don't want to be blocking). It basically does what you would expect the built-in check would be doing: block if any triggered check fails. Would be nice if github added native support for it though. |
Beta Was this translation helpful? Give feedback.
-
Keeping status checks up to date would be easier if the required status checks could be a wildcard.
It's already possible to wildcard on branches, which is super useful for defining a small number of protection rules that apply to multiple branches.
It would be equally useful if wildcards were supported in the status checks too, so that I could say that status checks with name
test *
are required, that way all the test jobs with all their matrix values are automatically required to pass.I work in a repo https://github.com/stellar/go that have some growing matrix setups, and the names for the checks are getting really long and have to be updated by an admin every time we add a new matrix value.
Beta Was this translation helpful? Give feedback.
All reactions