From 820a71d7a7285730fd1dbd1167e2841eb7ba9722 Mon Sep 17 00:00:00 2001 From: Jey Burrows <175012+jeyrb@users.noreply.github.com> Date: Thu, 15 Oct 2026 12:14:05 +0100 Subject: [PATCH] Add ci-ok job as the single required CI check Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbf2b69fe..3b0a398ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,3 +108,17 @@ jobs: with: name: pytest-results-${{ matrix.python-version }}-ha${{ matrix.ha-version }} path: junit/test-results-${{ matrix.python-version }}-ha${{ matrix.ha-version }}.xml + + # The one check branch protection requires, so the lint/test matrix can change without + # editing the required status checks. + ci-ok: + if: always() + needs: [lint, typecheck, test] + runs-on: ubuntu-latest + steps: + - name: All CI jobs passed + env: + RESULTS: ${{ join(needs.*.result, ' ') }} + run: | + echo "Results: $RESULTS" + for r in $RESULTS; do [[ $r == success ]] || exit 1; done