{"id":28602717,"url":"https://github.com/anthropics/claude-code-action","last_synced_at":"2026-05-19T02:23:15.492Z","repository":{"id":294261737,"uuid":"986421638","full_name":"anthropics/claude-code-action","owner":"anthropics","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-10T22:41:59.000Z","size":237,"stargazers_count":943,"open_issues_count":50,"forks_count":666,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-10T23:32:04.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthropics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-19T15:26:50.000Z","updated_at":"2025-06-10T22:27:11.000Z","dependencies_parsed_at":"2025-06-10T23:26:25.656Z","dependency_job_id":"d40aefaa-b43e-4cc1-8fa0-7df860c42273","html_url":"https://github.com/anthropics/claude-code-action","commit_stats":null,"previous_names":["anthropics/claude-code-action"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/anthropics/claude-code-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fclaude-code-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fclaude-code-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fclaude-code-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fclaude-code-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthropics","download_url":"https://codeload.github.com/anthropics/claude-code-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthropics%2Fclaude-code-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259445011,"owners_count":22858555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-11T16:02:24.085Z","updated_at":"2026-01-05T22:17:59.415Z","avatar_url":"https://github.com/anthropics.png","language":"TypeScript","funding_links":[],"categories":["Official Resources","Headless CI/CD \u0026 GitHub Actions","Claude Code Ecosystem","others","HarmonyOS","TypeScript","GitHub Integration","官方仓库","⚙️ Secure CI/CD and Automation","Official","Repos","AI Coding Agents","Code \u0026 Developer Tools","🔧 Utilities \u0026 Miscellaneous"],"sub_categories":["What are Claude Skills?","Core \u0026 Official Tools","Windows Manager","Claude Code Specific","Claude Code"],"readme":"![Claude Code Action responding to a comment](https://github.com/user-attachments/assets/1d60c2e9-82ed-4ee5-b749-f9e021c85f4d)\n\n# Claude Code Action\n\nA general-purpose [Claude Code](https://claude.ai/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, Amazon Bedrock, Google Vertex AI, and Microsoft Foundry.\n\n## Features\n\n- 🎯 **Intelligent Mode Detection**: Automatically selects the appropriate execution mode based on your workflow context—no configuration needed\n- 🤖 **Interactive Code Assistant**: Claude can answer questions about code, architecture, and programming\n- 🔍 **Code Review**: Analyzes PR changes and suggests improvements\n- ✨ **Code Implementation**: Can implement simple fixes, refactoring, and even new features\n- 💬 **PR/Issue Integration**: Works seamlessly with GitHub comments and PR reviews\n- 🛠️ **Flexible Tool Access**: Access to GitHub APIs and file operations (additional tools can be enabled via configuration)\n- 📋 **Progress Tracking**: Visual progress indicators with checkboxes that dynamically update as Claude completes tasks\n- 📊 **Structured Outputs**: Get validated JSON results that automatically become GitHub Action outputs for complex automations\n- 🏃 **Runs on Your Infrastructure**: The action executes entirely on your own GitHub runner (Anthropic API calls go to your chosen provider)\n- ⚙️ **Simplified Configuration**: Unified `prompt` and `claude_args` inputs provide clean, powerful configuration aligned with Claude Code SDK\n\n## 📦 Upgrading from v0.x?\n\n**See our [Migration Guide](./docs/migration-guide.md)** for step-by-step instructions on updating your workflows to v1.0. The new version simplifies configuration while maintaining compatibility with most existing setups.\n\n## Quickstart\n\nThe easiest way to set up this action is through [Claude Code](https://claude.ai/code) in the terminal. Just open `claude` and run `/install-github-app`.\n\nThis command will guide you through setting up the GitHub app and required secrets.\n\n**Note**:\n\n- You must be a repository admin to install the GitHub app and add secrets\n- 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](./docs/cloud-providers.md).\n\n## 📚 Solutions \u0026 Use Cases\n\nLooking for specific automation patterns? Check our **[Solutions Guide](./docs/solutions.md)** for complete working examples including:\n\n- **🔍 Automatic PR Code Review** - Full review automation\n- **📂 Path-Specific Reviews** - Trigger on critical file changes\n- **👥 External Contributor Reviews** - Special handling for new contributors\n- **📝 Custom Review Checklists** - Enforce team standards\n- **🔄 Scheduled Maintenance** - Automated repository health checks\n- **🏷️ Issue Triage \u0026 Labeling** - Automatic categorization\n- **📖 Documentation Sync** - Keep docs updated with code changes\n- **🔒 Security-Focused Reviews** - OWASP-aligned security analysis\n- **📊 DIY Progress Tracking** - Create tracking comments in automation mode\n\nEach solution includes complete working examples, configuration details, and expected outcomes.\n\n## Documentation\n\n- **[Solutions Guide](./docs/solutions.md)** - **🎯 Ready-to-use automation patterns**\n- **[Migration Guide](./docs/migration-guide.md)** - **⭐ Upgrading from v0.x to v1.0**\n- [Setup Guide](./docs/setup.md) - Manual setup, custom GitHub apps, and security best practices\n- [Usage Guide](./docs/usage.md) - Basic usage, workflow configuration, and input parameters\n- [Custom Automations](./docs/custom-automations.md) - Examples of automated workflows and custom prompts\n- [Configuration](./docs/configuration.md) - MCP servers, permissions, environment variables, and advanced settings\n- [Experimental Features](./docs/experimental.md) - Execution modes and network restrictions\n- [Cloud Providers](./docs/cloud-providers.md) - AWS Bedrock, Google Vertex AI, and Microsoft Foundry setup\n- [Capabilities \u0026 Limitations](./docs/capabilities-and-limitations.md) - What Claude can and cannot do\n- [Security](./docs/security.md) - Access control, permissions, and commit signing\n- [FAQ](./docs/faq.md) - Common questions and troubleshooting\n\n## 📚 FAQ\n\nHaving issues or questions? Check out our [Frequently Asked Questions](./docs/faq.md) for solutions to common problems and detailed explanations of Claude's capabilities and limitations.\n\n## License\n\nThis project is licensed under the MIT License—see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthropics%2Fclaude-code-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthropics%2Fclaude-code-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthropics%2Fclaude-code-action/lists"}