Claude Code Action
The official Anthropic GitHub Action for running Claude Code in CI pipelines. Responds to @claude mentions in pull requests and issues, performs automatic PR reviews, implements requested fixes, creates branches, and opens pull requests. Supports five authentication backends: Anthropic direct API, workload identity federation, Amazon Bedrock, Google Vertex AI, and Microsoft Foundry. Runs entirely on your own GitHub runner.
View on GitHubWhat it does
- /install-github-app
Guides setup of the Claude GitHub App and generates the .github/workflows/claude.yml stub for Anthropic direct API users.
- @claude <instruction>
Triggers Claude Code in CI from a PR or issue comment; Claude branches, implements the fix, and opens a pull request.
- Automatic PR review
Configured via workflow YAML to review every PR on open/update, with optional path filters for critical files.
- Scheduled automation
Runs Claude on a cron schedule for repository health checks, documentation sync, or security scans without a human trigger.
- Structured outputs
Returns validated JSON results as GitHub Action outputs, enabling downstream steps to consume Claude findings programmatically.