Просмотр исходного кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/22897
Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 2 дней назад
Родитель
Сommit
4517acedb5
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      .github/workflows/claude-code-review.yml

+ 2 - 0
.github/workflows/claude-code-review.yml

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