From c5c42a964983f36ca91a29e51a7ac7754cf75e4d Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Tue, 12 May 2026 08:28:42 +0100 Subject: [PATCH] fix(ci): make /review reliably post PR comments The Run Claude Code Review step passed an invalid PR ref (owner/repo/pull/N) which gh interprets as a branch name, causing early gh pr view failures. More importantly, the prompt omitted --comment, so the code-review plugin only displayed findings in terminal output and never invoked gh pr comment to post to the PR. Switch to a full PR URL and add --comment so the plugin posts the review during the session, which also routes around upstream bugs anthropics/claude-code-action#1061 and #1087 where the action's post-step capture can silently drop output on issue_comment triggers. --- .github/workflows/claude.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index fcafc0279..4f43c3d9d 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -160,4 +160,4 @@ jobs: show_full_output: true plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' plugins: 'code-review@claude-code-plugins' - prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ steps.pr.outputs.number }}' + prompt: '/code-review:code-review https://github.com/${{ github.repository }}/pull/${{ steps.pr.outputs.number }} --comment'