actions-marketplace-validations/Claude Code Action with OAuth

Enhanced Claude Code Action supporting authentication for Claude Pro / Max subscribers without API keys.

View on GitHub

Trust Signals

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

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/grll_claude-code-action@ea0427d692fb2ddad0834b773c38e3aaa42c3286 # no releases — HEAD as of 2026-07-13

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
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
claude_envCustom environment variables to pass to Claude Code execution (YAML format)no""
anthropic_api_keyAnthropic API key (required for direct API, not needed for Bedrock/Vertex/OAuth)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
use_oauthUse Claude AI OAuth authentication instead of API key (for Claude Max subscribers)nofalse
claude_access_tokenClaude AI OAuth access token (required when use_oauth is true)no""
claude_refresh_tokenClaude AI OAuth refresh token (required when use_oauth is true)no""
claude_expires_atClaude AI OAuth token expiration timestamp (required when use_oauth is true)no""
secrets_admin_patPersonal Access Token with secrets:write permission to refresh OAuth tokens (required when use_oauth is true)no""
max_turnsMaximum number of conversation turnsno""
timeout_minutesTimeout in minutes for executionno30
use_sticky_commentUse just one comment to deliver issue/PR commentsnofalse
namedescription
execution_filePath to the Claude Code execution output file