]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
github: fix claude-code-review running in tag mode for issue_comment
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Mar 2026 23:59:06 +0000 (00:59 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Mar 2026 00:14:16 +0000 (01:14 +0100)
Without a prompt the action auto-detected mode: tag instead of agent
when triggered via issue_comment, resulting in no review being posted.
Remove the prompt so the action can correctly use its built-in agent
mode with full PR context.

Fixes: c0e75c9de6f2 ("github: add Claude code review workflow triggered by /claude comment")
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
.github/workflows/claude-code-review.yml

index 13f1dddb6460e19d6e32e3b17fcc895b0ac36ca8..6259e79c0ddea1c3828f71aedb02557aaf7e56fe 100644 (file)
@@ -31,6 +31,3 @@ jobs:
           anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
           trigger_phrase: "/claude"
-          prompt: >-
-            Review this PR for an OpenWrt embedded Linux project,
-            focusing on correctness, security, and coding conventions.