summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-06-08 09:42:08 +0700
committerGitHub <[email protected]>2026-06-08 09:42:08 +0700
commit7c68545ab6bd0a2b7d4b59228d84d4c2085abae7 (patch)
tree25ee196f26fa86ac0cebc712871135e59549ecd4
parent1009b14b02232adc70a0a5a5ed4a3a06118fef0d (diff)
ci: post auto-review findings to the PR (#3684)
Add --comment so the auto-review is actually posted on the PR.
-rw-r--r--.github/workflows/claude-code-review.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
index 91859af9d..71c1cb8ab 100644
--- a/.github/workflows/claude-code-review.yml
+++ b/.github/workflows/claude-code-review.yml
@@ -47,7 +47,9 @@ jobs:
# Post/update a single summary comment every run, so a clean review
# ("no issues found") is still visible instead of posting nothing.
use_sticky_comment: true
- prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
+ # --comment makes the code-review command post its findings to the PR.
+ # Without it the command only prints the review to the Actions log.
+ prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }} --comment'
# TEMPORARY: expose the full Claude transcript in the Actions log for
# debugging. Revert to remove once done.
show_full_output: true