diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9ea428..1fe1037 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,3 +62,17 @@ jobs: - name: Test with coverage run: uv run pytest tests/ -q --cov=evalwire --cov-report=term-missing --cov-fail-under=85 + + # https://github.com/marketplace/actions/alls-green#why + ci-success: # This job does nothing and is only used for the branch protection + name: CI Success + if: always() + needs: + - lint + - test + runs-on: ubuntu-latest + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}