From ab8a512786bd6854f4e919f72861c7cd7126ddf2 Mon Sep 17 00:00:00 2001 From: bincxz <16399091+binaricat@users.noreply.github.com> Date: Thu, 30 Jul 2026 09:52:47 +0800 Subject: [PATCH] fix(ci): dispatch clean Codex review results --- .github/workflows/cursor-automation.yml | 2 +- scripts/cursor-automation.test.cjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cursor-automation.yml b/.github/workflows/cursor-automation.yml index f745e1d64..4ffffb639 100644 --- a/.github/workflows/cursor-automation.yml +++ b/.github/workflows/cursor-automation.yml @@ -4669,7 +4669,7 @@ jobs: lastAutomationRequestAt, lastCodexSummaryAt: latestCodexReview.at, }); - if (['fix', 'give_up'].includes(decision.action)) { + if (['fix', 'give_up', 'mark_ready'].includes(decision.action)) { const marker = ``; const alreadyDispatched = issueComments.some((comment) => diff --git a/scripts/cursor-automation.test.cjs b/scripts/cursor-automation.test.cjs index 9a466c1f1..491410167 100644 --- a/scripts/cursor-automation.test.cjs +++ b/scripts/cursor-automation.test.cjs @@ -79,7 +79,7 @@ test('Codex polling dispatches actionable submitted reviews to the fix loop', () assert.match(poll, /actions: write/); assert.match(poll, /DISPATCH_TOKEN:/); assert.match(poll, /latestCodexReview/); - assert.match(poll, /\['fix', 'give_up'\]\.includes\(decision\.action\)/); + assert.match(poll, /\['fix', 'give_up', 'mark_ready'\]\.includes\(decision\.action\)/); assert.match(poll, /cursor-codex-dispatch:review-id=/); assert.match(poll, /const alreadyDispatched/); assert.match(poll, /let dispatchRejected = false/);