]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
github: enable inline PR comments for Claude code review
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 Apr 2026 15:52:16 +0000 (17:52 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Apr 2026 15:02:00 +0000 (17:02 +0200)
Allow Claude to post inline comments on specific lines when reviewing
PRs via the /claude trigger phrase.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Link: https://github.com/openwrt/openwrt/pull/22897
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
.github/workflows/claude-code-review.yml

index aff24b8aef12b7cdf165f4d7746e4d1f30251952..3d7957420ab1e144371403b32aedfea735a5a222 100644 (file)
@@ -31,3 +31,5 @@ jobs:
           anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
           github_token: ${{ secrets.GITHUB_TOKEN }}
           trigger_phrase: "/claude"
+          claude_args: >-
+            --allowedTools "mcp__github_inline_comment__create_inline_comment"