# Claude Code Action

A general-purpose GitHub Action that runs Claude Code against pull requests and issues, answering questions, reviewing changes and implementing fixes when triggered by mentions, assignments or automation.

Claude Code Action is a general-purpose GitHub Action that runs Claude Code against pull requests and issues. It detects when to activate based on workflow context, such as an @claude mention, an issue assignment, or an automation task with an explicit prompt, and supports authentication through the direct Anthropic API, Amazon Bedrock, Google Vertex AI or Microsoft Foundry.

It can answer questions about code and architecture, review a pull request's changes and suggest improvements, and implement simple fixes, refactoring or new features, working through GitHub comments and PR reviews. It shows visual progress indicators as it completes tasks, can return validated JSON that becomes an action output for further automation, and runs entirely on the caller's own GitHub runner, with only the model API calls going to the chosen provider.

It is written in TypeScript and released under the MIT license.

Website: https://github.com/anthropics/claude-code-action
