refactor(ci): add shared ci success#124
Conversation
Co-authored-by: Codex <noreply@openai.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7496f39582
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| steps: | ||
| - name: Wait for all PR checks to succeed | ||
| uses: promptfoo/.github/.github/actions/ci-success@main |
There was a problem hiding this comment.
Pin shared action to immutable commit SHA
Replace @main with a pinned commit SHA. Referencing a moving branch allows unreviewed upstream changes to execute in this repo’s CI with GITHUB_TOKEN, which can bypass expected review and make checks non-deterministic. This is a supply-chain integrity risk for the merge gate.
Useful? React with 👍 / 👎.
Co-authored-by: Codex <noreply@openai.com>
Add a CI Success job to the existing CI workflow, use the shared first-party action from promptfoo/.github, and keep the current PR Title Check workflow intact. Test plan: verify the workflow parses and CI Success waits for the existing PR checks.