This repo is a mirror of the contents of base-action in https://github.com/anthropics/claude-code-action.
Browse cluster: Static Analysis & Code Quality →Claude Code Base Action is a GitHub Action developed by Anthropic that enables running Claude Code within GitHub Actions workflows. Built with Bun runtime and TypeScript, the action serves as a thin wrapper around Claude Code that accepts prompts and custom arguments while supporting multiple authentication methods including Anthropic API keys, OAuth tokens, and workload identity federation across providers like AWS Bedrock and Google Vertex AI. The action outputs execution logs in JSON format and can be configured with custom system prompts, tool restrictions, environment variables, and MCP (Model Context Protocol) servers to support flexible, custom workflow automation.