ahump20/Claude Code Action Official

General-purpose Claude agent for GitHub PRs and issues. Can answer questions and implement code changes.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 18, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ahump20/claude-code-action-main@ff4e30fc719260447f8afdb0de64320410742884 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
trigger_phraseThe trigger phrase to look for in comments or issue bodyno@claude
assignee_triggerThe assignee username that triggers the action (e.g. @claude)no
label_triggerThe label that triggers the action (e.g. claude)noclaude
base_branchThe branch to use as the base/source when creating new branches (defaults to repository default branch)no
branch_prefixThe prefix to use for Claude branches (defaults to 'claude/', use 'claude-' for dash format)noclaude/
modelModel to use (provider-specific format required for Bedrock/Vertex)no
anthropic_modelDEPRECATED: Use 'model' instead. Model to use (provider-specific format required for Bedrock/Vertex)no
fallback_modelEnable automatic fallback to specified model when primary model is unavailableno
allowed_toolsAdditional tools for Claude to use (the base GitHub tools will always be included)no""
disallowed_toolsTools that Claude should never useno""
custom_instructionsAdditional custom instructions to include in the prompt for Claudeno""
direct_promptDirect instruction for Claude (bypasses normal trigger detection)no""
mcp_configAdditional MCP configuration (JSON string) that merges with the built-in GitHub MCP servers
additional_permissionsAdditional permissions to enable. Currently supports 'actions: read' for viewing workflow resultsno""
claude_envCustom environment variables to pass to Claude Code execution (YAML format)no""
settingsClaude Code settings as JSON string or path to settings JSON fileno""
anthropic_api_keyAnthropic API key (required for direct API, not needed for Bedrock/Vertex)no
claude_code_oauth_tokenClaude Code OAuth token (alternative to anthropic_api_key)no
github_tokenGitHub token with repo and pull request permissions (optional if using GitHub App)no
use_bedrockUse Amazon Bedrock with OIDC authentication instead of direct Anthropic APInofalse
use_vertexUse Google Vertex AI with OIDC authentication instead of direct Anthropic APInofalse
max_turnsMaximum number of conversation turnsno""
timeout_minutesTimeout in minutes for executionno30
use_sticky_commentUse just one comment to deliver issue/PR commentsnofalse
use_commit_signingEnable commit signing using GitHub's commit signature verification. When false, Claude uses standard git commandsnofalse
experimental_allowed_domainsRestrict network access to these domains only (newline-separated). If not set, no restrictions are applied. Provider domains are auto-detected.no""
namedescription
execution_filePath to the Claude Code execution output file
branch_nameThe branch created by Claude Code for this execution