I'm trying to set a github branch protection rule based on the success or failure of a github actions workflow.
You can see the workflow here:
Screenshot two: I can't pick the name of the overall "Tests" workflow at all.
CodePudding user response:
In this case, you have a single job with a matrix. That means you'll end with 9 possibilities (3 node options × 3 MongoDB options). Each of those is considered a separate status check and can be enabled or disabled as mandatory individually. This is so that you can add new options without making them mandatory up front.
If you want every one of those jobs to pass, then you need to choose every one of the 9 jobs and mark them as required.