diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d047a02..ce9e785 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,3 +17,20 @@ jobs: with: node-version: 24 - run: node --test .github/actions/ci-success/test/monitor.test.mjs + + ci-success: + name: CI Success + runs-on: ubuntu-latest + needs: [test] + if: always() && github.event_name == 'pull_request' + 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