Files
Alex d9d06c731a ci: use CLAUDE_CODE_OAUTH_TOKEN for Claude Code Action (#600)
## Summary

Switches the Claude Code Action auth from `ANTHROPIC_API_KEY` to
`CLAUDE_CODE_OAUTH_TOKEN`, which uses a Claude Max/Pro subscription
instead of pay-per-token API billing.

The PR #599 workflow run failed with:
\`\`\`
Environment variable validation failed:
- Either ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN is required
\`\`\`

## Required setup (one-time, maintainer)

\`\`\`bash
# Generate an OAuth token tied to your Claude account
claude setup-token

# Store it in repo secrets
gh secret set CLAUDE_CODE_OAUTH_TOKEN --repo FluidInference/FluidAudio
# (paste the token when prompted)
\`\`\`

Verify:
\`\`\`bash
gh secret list --repo FluidInference/FluidAudio
\`\`\`

## Test plan

- [ ] Maintainer runs the two commands above to populate the secret
- [ ] After merge, post \`@claude help\` on a throwaway issue and
confirm the workflow runs without env-var errors
2026-05-11 11:15:55 -04:00
..