diff --git a/.github/scripts/codex-security-review.test.js b/.github/scripts/codex-security-review.test.js index 7ae3f852c3..3d491af6c7 100644 --- a/.github/scripts/codex-security-review.test.js +++ b/.github/scripts/codex-security-review.test.js @@ -203,7 +203,7 @@ const NO_FINDINGS_REVIEW = { async function postReview(state, review = NO_FINDINGS_REVIEW) { const environment = { - CODEX_MODEL: "gpt-5.6-sol", + CODEX_MODEL: "gpt-6.1-sol", GITHUB_REPOSITORY: "block/buzz", GITHUB_RUN_ID: "1234", GITHUB_SERVER_URL: "https://github.com", diff --git a/.github/workflows/codex-security-review.yml b/.github/workflows/codex-security-review.yml index eb6d01bf6d..b7966d2b1b 100644 --- a/.github/workflows/codex-security-review.yml +++ b/.github/workflows/codex-security-review.yml @@ -220,7 +220,7 @@ jobs: permissions: contents: read env: - CODEX_MODEL: gpt-5.6-sol + CODEX_MODEL: gpt-6.1-sol CODEX_REASONING_EFFORT: high CODEX_REVIEW_API_KEY_PRESENT: ${{ secrets.CODEX_REVIEW_API_KEY != '' }} REVIEW_CONTEXT: review-context @@ -303,7 +303,7 @@ jobs: ACTIONS_ID_TOKEN_REQUEST_URL: '' with: openai-api-key: ${{ secrets.CODEX_REVIEW_API_KEY }} - codex-version: '0.150.1' + codex-version: '0.161.0' model: ${{ env.CODEX_MODEL }} codex-args: '["-c","model_reasoning_effort=${{ env.CODEX_REASONING_EFFORT }}"]' # The trusted authorization job already required repo write access for the @@ -508,7 +508,7 @@ jobs: contents: read pull-requests: write env: - CODEX_MODEL: gpt-5.6-sol + CODEX_MODEL: gpt-6.1-sol REVIEW_JSON: ${{ needs.security-review.outputs.review_json }} REVIEW_PR_NUMBER: ${{ needs.prepare-review.outputs.pr_number }} REVIEW_TRIGGER_ACTOR: ${{ needs.prepare-review.outputs.trigger_actor }}