fix: use configured Claude OAuth secret in workflows

This commit is contained in:
Mark Wylde
2026-07-26 21:26:22 +01:00
parent 3bd849872e
commit c30a6c8c23
8 changed files with 13 additions and 26 deletions

View File

@@ -33,8 +33,7 @@ jobs:
id: claude
uses: anthropics/claude-code-action@beta
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY && secrets.ANTHROPIC_API_KEY || secrets.CLAUDE_CREDENTIALS }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CREDENTIALS }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
allowed_tools: "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)"
custom_instructions: "You have also been granted tools for editing files and running bun commands (install, run, test, typecheck) for testing your changes: bun install, bun test, bun run format, bun typecheck."
model: "claude-opus-4-20250514"