diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c97340..60bfa13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,3 +92,20 @@ jobs: - name: Run license check run: npx license-checker --production --summary continue-on-error: true + + ci-success: + name: CI Success + runs-on: ubuntu-latest + needs: [ci, security] + 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 diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index e5335d2..16b92c8 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -30,6 +30,7 @@ jobs: scopes: | deps deps-dev + ci requireScope: false subjectPattern: ^(?![A-Z]).+$ subjectPatternError: |