{"repo":"re-actors/alls-green","free":true,"listed":false,"github":"https://github.com/re-actors/alls-green","clone":"git clone https://github.com/re-actors/alls-green.git","description":"A check for whether the dependency jobs are all green.","language":"Python","stars":170,"topics":["github-actions","actions","action","hacktoberfest"],"license":"BSD-3-Clause","category":"deployment-docker-iac","readme_excerpt":"alls-green A check for whether the dependency jobs are all green. Why? Do you have more than one job in your GitHub Actions CI/CD workflows setup? Do you use branch protection? Are you annoyed that you have to manually update the required checks in the repository settings hoping that you don't forget something on each improvement of the test matrix structure? Yeah.. me too! But there's a solution — you can make a single check job listing all of the other jobs in its needs list. How about that? 🤯 Now you can add only that single job to your branch protection settings and you won't have to maintain that list manually anymore. Right..? Wrong 🙁 — apparently, in case when something fails, the check job's result is set to skipped and not failed as one would expect. This is problematic and requires extra work to get it right. Some of it is iteration over the needed jobs and checking that all their results are set to success but it's no fun to maintain this sort of thing in many different repositories. Also, it is mandatory to make the check job run always, not only when all of the needed jobs succeed. This is why I decided to make this action to simplify the maintenance. --[@webknjaz] :wq Usage To use the action add a check job to your workflow file (e.g. .github/workflows/ci-cd.yml ) following the example below: Options There are three options — allowed-failures , allowed-skips and jobs . The first two are optional but jobs is mandatory. allowed-failures tells the action which jo","default_branch":null,"files":null,"tree":[],"storefront":"/r/re-actors","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/re-actors/alls-green/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}