From 768c2f8eed465df98ecc31b9332b9c9eb43b30d2 Mon Sep 17 00:00:00 2001 From: Dave Allie Date: Thu, 5 Feb 2026 23:08:16 +1100 Subject: [PATCH] chore: Add CI check job to consolidate status (#696) ## Summary * Add CI check job to consolidate status ## Additional Context * As in the inline comment: > This job is used as the PR required actions check, allows for changes to other steps in the future without breaking PR requirements. --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? No --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 262a19f8..e65fa549 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,3 +89,21 @@ jobs: name: firmware.bin path: .pio/build/default/firmware.bin if-no-files-found: error + + # This job is used as the PR required actions check, allows for changes to other steps in the future without breaking + # PR requirements. + test-status: + name: Test Status + needs: + - build + - clang-format + - cppcheck + if: always() + runs-on: ubuntu-latest + steps: + - name: Fail because needed jobs failed + # Fail if any job failed or was cancelled (skipped jobs are ok) + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} + run: exit 1 + - name: Success + run: exit 0