πŸ“ˆ GH Trending Explorer 🎲 Surprise me

← all repos

anthropics / claude-code-action

git clone https://github.com/anthropics/claude-code-action.git v1 Β· 1y ago πŸ”₯ on GitHub Trending today

β€”

β€”
stars, 24h
β€”
stars, 7 days
+703
stars, 30 days Β· #420
9.6k
β˜… total
2.2k
forks Β· 833 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageTypeScript
LicenseMIT
Created2025-05-19 (1y ago)
Last pushtoday
Watchers59
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-20 β€” #17 monthly in typescript Β· +703 β˜…

Links

README excerpt
# Claude Code Action
A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code changes. This action intelligently detects when to activate based on your workflow contextβ€”whether responding to @claude mentions, issue assignments, or executing automation tasks with explicit prompts. It supports multiple authentication methods including Anthropic direct API (API key or workload identity federation), Amazon Bedrock, Google Vertex AI, and Microsoft Foundry.
## Features
- 🎯 **Intelligent Mode Detection**: Automatically selects the appropriate execution mode based on your workflow contextβ€”no configuration needed
- πŸ€– **Interactive Code Assistant**: Claude can answer questions about code, architecture, and programming
- πŸ” **Code Review**: Analyzes PR changes and suggests improvements
- ✨ **Code Implementation**: Can implement simple fixes, refactoring, and even new features
- πŸ’¬ **PR/Issue Integration**: Works seamlessly with GitHub comments and PR reviews
- πŸ› οΈ **Flexible Tool Access**: Access to GitHub APIs and file operations (additional tools can be enabled via configuration)
- πŸ“‹ **Progress Tracking**: Visual progress indicators with checkboxes that dynamically update as Claude completes tasks
- πŸ“Š **Structured Outputs**: Get validated JSON results that automatically become GitHub Action outputs for complex automations
- πŸƒ **Runs on Your Infrastructure**: The action executes entirely on your own GitHub runner (Anthropic API calls go to your chosen provider)
- βš™οΈ **Simplified Configuration**: Unified `prompt` and `claude_args` inputs provide clean, powerful configuration aligned with Claude Code SDK
## πŸ“¦ Upgrading from v0.x?
**See our Migration Guide** for step-by-step instructions on updating your workflows to v1.0. The new version simplifies configuration while maintaining compatibility with most existing setups.
## Quickstart
The easiest way to set up this action is through Claude Code in the terminal. Just open `claude` and run `/install-github-app`.
This command will guide you through setting up the GitHub app and required secrets.
**Note**:
- You must be a repository admin to install the GitHub app and add secrets
- This quickstart method is only available for direct Anthropic API users. For AWS Bedrock, Google Vertex AI, or Microsoft Foundry setup, see docs/cloud-providers.md.
## πŸ“š Solutions & Use Cases
Looking for specific automation patterns? Check our **Solutions Guide** for complete working examples including:
- **πŸ” Automatic PR Code Review** - Full review automation
- **πŸ“‚ Path-Specific Reviews** - Trigger on critical file changes
- **πŸ‘₯ External Contributor Reviews** - Special handling for new contributors
- **πŸ“ Custom Review Checklists** - Enforce team standards
- **πŸ”„ Scheduled Maintenance** - Automated repository health checks
- **🏷️ Issue Triage & Labeling** - Automatic categorization
- **πŸ“– Documentation Sync** - Keep docs updated with code changes
- **πŸ”’ Security-Focused Reviews** - OWASP-ali