unity-consulting/Claude Code Base Action
Run Claude Code in GitHub Actions workflows
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prompt | The prompt to send to Claude Code (mutually exclusive with prompt_file) | no | "" |
| prompt_file | Path to a file containing the prompt to send to Claude Code (mutually exclusive with prompt) | no | "" |
| allowed_tools | Comma-separated list of allowed tools for Claude Code to use | no | "" |
| disallowed_tools | Comma-separated list of disallowed tools that Claude Code cannot use | no | "" |
| max_turns | Maximum number of conversation turns (default: no limit) | no | "" |
| mcp_config | MCP configuration as JSON string or path to MCP configuration JSON file | no | "" |
| model | Model to use (provider-specific format required for Bedrock/Vertex) | no | — |
| anthropic_model | DEPRECATED: Use 'model' instead. Model to use (provider-specific format required for Bedrock/Vertex) | no | — |
| timeout_minutes | Timeout in minutes for Claude Code execution | no | 10 |
| anthropic_api_key | Anthropic API key (required for direct Anthropic API) | no | "" |
| use_bedrock | Use Amazon Bedrock with OIDC authentication instead of direct Anthropic API | no | false |
| use_vertex | Use Google Vertex AI with OIDC authentication instead of direct Anthropic API | no | false |
| use_max_plan | Use locally installed Claude Code with Max plan authentication (for self-hosted runners) | no | false |
| use_node_cache | Whether to use Node.js dependency caching (set to true only for Node.js projects with lock files) | no | false |
Outputs
| name | description |
|---|---|
| conclusion | Execution status of Claude Code ('success' or 'failure') |
| execution_file | Path to the JSON file containing Claude Code execution log |