-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
area:installationbugSomething isn't workingSomething isn't workingp2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature requestprovider:1pAnthropic First-Party APIAnthropic First-Party API
Description
Describe the bug
Claude code action is not getting initialized but earlier it was ( 27th Nov , 2025 )
To Reproduce
Steps to reproduce the behavior:
uses: anthropics/claude-code-base-action@main
prompt: ""
anthropic_api_key: dummy
settings: |
{
"env": {
"MAX_THINKING_TOKENS": 20000,
"GH_TOKEN": "${{ steps.app-token.outputs.token }}",
"GITHUB_REPOSITORY": "${{ github.repository }}",
"BASH_DEFAULT_TIMEOUT_MS": 300000,
"BASH_MAX_TIMEOUT_MS": 300000,
"ANTHROPIC_BASE_URL": "https://api.portkey.ai",
"ANTHROPIC_AUTH_TOKEN": "dummy",
"ANTHROPIC_CUSTOM_HEADERS": "x-portkey-api-key: ${{ secrets.PORTKEY_API_KEY }}\nx-portkey-provider: key"
}
}
show_full_output: true
claude_args: |
--model us.anthropic.claude-sonnet-4-5-20250929-v1:0
--allowedTools mcp__sentry__*,mcp__sentry__get_sentry_issue,Read,View,Bash,Edit,Create,Write,str_replace_editor
--mcp-config /tmp/mcp-config.json
Action output
Installation attempt 1...
Setting up Claude Code...
�[?2026h�[?2026l�[?2026h�[?2026l�[?2026h�[?2026l�[?2026h�[?2026l�[?2026h�[?2026l�[?2026h
✔ Claude Code successfully installed!
Version: 2.1.9
Location: ~/.local/bin/claude
Next: Run claude --help to get started
�[?2026l
✅ Installation complete!
Claude Code installed successfully
Run # Change to CLAUDE_WORKING_DIR if set (for running in custom directories)
Setting up Claude settings at: /home/runner/.claude/settings.json
Creating .claude directory...
No existing settings file found, creating new one
Processing settings input...
Parsed settings input as JSON
Merged settings with input settings
Updated settings with enableAllProjectMcpServers: true
Settings saved successfully
No marketplaces specified, skipping marketplace setup
No plugins specified, skipping plugins installation
Using Agent SDK path (USE_AGENT_SDK=unset)
Running Claude with prompt from file: /tmp/claude-action/prompt.txt
SDK options: {
"systemPrompt": {
"type": "preset",
"preset": "claude_code"
},
"pathToClaudeCodeExecutable": "",
"extraArgs": {
"model": "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
"mcp-config": "/tmp/mcp-config.json"
},
"settingSources": [
"user",
"project",
"local"
]
}
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Workflow yml file
If it's not sensitive, consider including a paste of your full Claude workflow.yml file.
API Provider
[ ] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
area:installationbugSomething isn't workingSomething isn't workingp2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature requestprovider:1pAnthropic First-Party APIAnthropic First-Party API