From 314182389b7243221f40639aad73d562f4fe87b4 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 23 Mar 2026 13:34:18 -0700 Subject: [PATCH] refactor(ci): add shared ci success Co-authored-by: Codex --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7238219..b01b5a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,3 +39,20 @@ jobs: - name: Run shellcheck run: shellcheck --severity=error src/crabcode + + ci-success: + name: CI Success + runs-on: ubuntu-latest + needs: [unit, lint] + if: always() + timeout-minutes: 5 + permissions: + checks: read + statuses: read + + steps: + - name: Wait for all PR checks to succeed + uses: promptfoo/.github/.github/actions/ci-success@main + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + timeout-seconds: 300