Claude Code Action is a general-purpose GitHub Action that brings Anthropic’s Claude Code into pull requests and issues to answer questions, review changes, and even implement code edits. It can wake up automatically when someone mentions @claude, when a PR or issue meets certain conditions, or when a workflow step provides an explicit prompt. The action is designed to understand diffs and surrounding context, so its comments and suggestions are grounded in what actually changed rather than the whole repository. Teams can configure how and when it participates, including authentication via Anthropic’s API as well as cloud providers like Bedrock or Vertex, and control whether it posts inline comments, summary reviews, or pushes commits. It supports streaming responses and longer interactions so that reviewers can iterate naturally in the same PR thread.
Features
- Triggers on @claude mentions, assignments, or explicit workflow prompts
- Diff-aware analysis for PR reviews and contextual comments
- Multiple auth backends including Anthropic API, Bedrock, and Vertex
- Configurable behaviors: inline comments, summaries, or commit suggestions
- Streamed, iterative conversations within PRs and issues
- Flexible inputs for prompts, safety settings, timeouts, and file/path filters