summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-03 15:15:07 +0700
committerhathach <[email protected]>2026-06-03 15:15:07 +0700
commit9a3e32bf549c5fdf6ef7931a47b8b8e2e483d856 (patch)
tree35c897a4720f50b26f36a6426ea772e361c5a995
parent31c73a3bbba4fb228025a5b09d8d024c0e5b04c1 (diff)
ci(claude): post sticky summary comment on code review
The review workflow posted nothing when a review found no issues: with use_sticky_comment unset, the only output path was inline comments, so a clean review surfaced no comment at all on the PR. Enable use_sticky_comment so a single summary comment is posted/ updated every run, making "no issues found" results visible. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
-rw-r--r--.github/workflows/claude-code-review.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
index 97950e888..91859af9d 100644
--- a/.github/workflows/claude-code-review.yml
+++ b/.github/workflows/claude-code-review.yml
@@ -44,6 +44,9 @@ jobs:
actions: read
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
plugins: 'code-review@claude-code-plugins'
+ # 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 }}'
# TEMPORARY: expose the full Claude transcript in the Actions log for
# debugging. Revert to remove once done.