From c9acd4cc3a719d560a5637e4ecf26daea28e0d64 Mon Sep 17 00:00:00 2001 From: jnasbyupgrade Date: Fri, 31 Jul 2026 13:18:52 -0500 Subject: [PATCH] claude-code-review.yml: add missing --comment flag Same issue as pgxntool-test#61/pgxntool#84: the /code-review plugin only prints its findings to the job log by default; it needs --comment to post a PR comment. Every automated review here has run correctly but never posted anything visible on the PR. --- .github/workflows/claude-code-review.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index fc7e26c..6585d24 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -99,4 +99,11 @@ jobs: # marketplace repo's default branch (upstream anthropics/claude-code). plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' plugins: 'code-review@claude-code-plugins' - prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' + # --comment is required: without it, the code-review plugin only + # prints its findings to the job log and never posts anything to + # the PR (confirmed by capturing the hidden SDK transcript on a + # canary PR in pgxntool-test: the review correctly found an + # injected bug but ended with "No `--comment` argument was + # provided, so no GitHub comments were posted"). Every review run + # before this fix has been silently invisible on GitHub. + prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }} --comment'