From 61dbebb79d4b6086c78fc37f936116346f43bff4 Mon Sep 17 00:00:00 2001 From: igerber Date: Fri, 28 Aug 2026 07:36:15 -0400 Subject: [PATCH] ci: fix codex-action pin comment format to satisfy workflow contract test The v1.11 revert (#797) put the rationale on the `uses:` line itself, but TestWorkflowCodexActionContract::test_run_codex_uses_pinned_action anchors the version comment to end-of-line (`# v1[.N]$`), so the trailing prose failed the Rust Backend Tests suite on main. Move the rationale to its own comment lines above the pin; the `uses:` line now ends with `# v1.11`. The pin itself (52fe01ec, v1.11) is unchanged. --- .github/workflows/ai_pr_review.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ai_pr_review.yml b/.github/workflows/ai_pr_review.yml index 84e0b041..34ee6ede 100644 --- a/.github/workflows/ai_pr_review.yml +++ b/.github/workflows/ai_pr_review.yml @@ -515,7 +515,9 @@ jobs: - name: Run Codex id: run_codex if: steps.pr.outputs.is_fork == 'false' - uses: openai/codex-action@52fe01ec70a42f454c9d2ebd47598f9fd6893d56 # v1.11 — pinned: v1.12 hangs after turn completes (openai/codex-action#150); re-bump once #151 ships + # Pinned to v1.11: v1.12 hangs after the turn completes + # (openai/codex-action#150); re-bump once #151 ships. + uses: openai/codex-action@52fe01ec70a42f454c9d2ebd47598f9fd6893d56 # v1.11 with: openai-api-key: ${{ secrets.OPENAI_API_KEY }} prompt-file: .github/codex/prompts/pr_review_compiled.md