-
Notifications
You must be signed in to change notification settings - Fork 0
ci: add Codex review gate #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Codex PR Review | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| issues: write | ||
| pull-requests: write | ||
|
|
||
| concurrency: | ||
| group: codex-pr-review-${{ github.event.pull_request.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| review: | ||
| uses: QuantStrategyLab/AIAuditBridge/.github/workflows/codex_pr_review.yml@main | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The called Useful? React with 👍 / 👎. |
||
| with: | ||
| caller_concurrency_key: pr-${{ github.event.pull_request.number || github.run_id }} | ||
| allow_unconfigured_backend: false | ||
| api_fallback_enabled: "false" | ||
| direct_api_primary_enabled: "false" | ||
| secrets: inherit | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because this workflow runs on Useful? React with 👍 / 👎. |
||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| issues: write | ||
| pull-requests: write | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
@mainmeans every PR-targeted run immediately executes whatever version of the externalAIAuditBridgeworkflow is currently on that branch, with this job's write permissions and OIDC access. If that branch is force-pushed, regressed, or compromised, this repository's PR review gate changes behavior without any change here; pinning the reusable workflow to a reviewed commit SHA or immutable release tag keeps updates deliberate.Useful? React with 👍 / 👎.