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
11 changes: 6 additions & 5 deletions .github/workflows/ai-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ permissions: {}
# post-review's footer all read these instead of hardcoding them separately.
env:
CLAUDE_MODEL: claude-opus-5
CODEX_MODEL: gpt-5.6-sol
CODEX_MODEL: gpt-6-sol

# Non-command issue_comment events fire for every comment on every PR, so grouping by PR number
# alone would let any comment cancel an in-flight review; give those runs their own per-run
Expand Down Expand Up @@ -307,7 +307,8 @@ jobs:
effort: high
output-schema-file: /tmp/ai-review/findings.schema.json
output-file: /tmp/ai-review/codex-findings.json
codex-version: "0.150.1"
# 0.156.1 is the first stable CLI whose model catalog carries gpt-6-sol.
codex-version: &codex-cli-version "0.156.1"
working-directory: ${{ github.workspace }}
safety-strategy: drop-sudo
sandbox: read-only
Expand Down Expand Up @@ -448,8 +449,8 @@ jobs:
# `working-directory` is the workspace root so Codex's cwd holds no untrusted AGENTS.md/
# config; it reads the PR from `pr/` and executes nothing from it.
- name: Run Codex adjudication
# Same v1.11 pin as codex-review's step above (see its comment for the full rationale);
# YAML-aliased so the SHA only needs to change in one place.
# Same v1.11 action pin and Codex CLI version as codex-review's step above (see its
# comments for the rationale); both are YAML-aliased so each changes in one place only.
uses: *codex-action-pin
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
Expand All @@ -458,7 +459,7 @@ jobs:
effort: high
output-schema-file: /tmp/ai-review/merged-review.schema.json
output-file: /tmp/ai-review/merged-review.json
codex-version: "0.150.1"
codex-version: *codex-cli-version
working-directory: ${{ github.workspace }}
safety-strategy: drop-sudo
sandbox: read-only
Expand Down
Loading