github: enable inline PR comments for Claude code review

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>
(cherry picked from commit 4517acedb5)
Link: https://github.com/openwrt/openwrt/pull/24318
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Hauke Mehrtens
2026-07-20 12:52:25 +02:00
committed by Christian Marangi
parent f369189f70
commit f5ba85d385
+2
View 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"