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) <noreply@anthropic.com>
This commit is contained in:
hathach
2026-06-03 15:15:07 +07:00
parent 31c73a3bbb
commit 9a3e32bf54

View File

@ -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.