bun format

This commit is contained in:
km-anthropic
2025-08-07 15:18:44 -07:00
parent b6238ad00e
commit e2bdca6133
3 changed files with 10 additions and 11 deletions

View File

@@ -16,25 +16,24 @@ jobs:
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# Option 1: Simple prompt with custom args
prompt: "Review this code and provide feedback"
claude_args: "--max-turns 3 --model claude-3-5-sonnet-latest"
# Option 2: Slash command with custom MCP config
# prompt: "/review"
# claude_args: "--mcp-config /workspace/custom-mcp.json --max-turns 5"
# Option 3: Override output format and add custom system prompt
# prompt: "Fix the failing tests"
# claude_args: "--output-format json --system-prompt 'You are an expert test fixer'"
# How it works:
# The action will execute: claude -p --verbose --output-format stream-json [your claude_args]
# Where the prompt is piped via stdin
# Benefits:
# - Full control over Claude CLI arguments
# - Use any Claude feature without waiting for action updates
# - Use any Claude feature without waiting for action updates
# - Override defaults when needed
# - Combine with existing inputs or use standalone
# - Combine with existing inputs or use standalone