💨

Claude Code GitHub Actions がレビューでインラインコメントしてくれなくなったので対処

に公開

問題

  • Claude Code GitHub Actions がレビュー時にインラインコメントしてくれなくなった
    • インラインコメントとは、Pull Requestレビュー時、行にコメントを付けること

https://docs.github.com/ja/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-comments-to-a-pull-request

対応

  • allowed_toolsの mcp__github__add_pull_request_review_comment_to_pending_reviewmcp__github__add_comment_to_pending_review に変更する
    • 自分の環境ではこれでインラインコメントしてくれるように戻りました

https://github.com/github/github-mcp-server/pull/697

で、名前が変更された模様。

https://github.com/anthropics/claude-code-action/pull/363

で、exampleが修正されているので、現状のexampleを参考にする場合は問題なさそう。

Discussion