Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pin shared action to immutable commit SHA

Replace the mutable @main ref with a full commit SHA. Using a branch ref for uses: lets future, unreviewed changes in promptfoo/.github alter this workflow at runtime, creating a supply-chain risk and non-reproducible CI behavior.

Useful? React with 👍 / 👎.

with:
github-token: ${{ secrets.GITHUB_TOKEN }}
timeout-seconds: 300
Loading