This is a fork of the official Claude Code Action that adds OAuth authentication support for Claude Max subscribers.
-
OAuth Authentication Support: Claude Max subscribers can now use their subscription in GitHub Actions
- New input:
use_oauth- Enable OAuth authentication - New input:
claude_access_token- OAuth access token from Claude Max subscription - New input:
claude_refresh_token- OAuth refresh token from Claude Max subscription - New input:
claude_expires_at- Token expiration timestamp
- New input:
-
Updated Base Action: Uses
grll/claude-code-base-action@betawhich includes OAuth credential handling
- Action name updated to "Claude Code Action (OAuth Fork)" to clarify fork purpose
- README documentation updated to include OAuth setup instructions
- All examples updated to use the forked action
- Get your OAuth credentials from your Claude Max subscription
- Add the credentials as GitHub secrets:
CLAUDE_ACCESS_TOKENCLAUDE_REFRESH_TOKENCLAUDE_EXPIRES_AT
- Enable OAuth in your workflow:
- uses: grll/claude-code-action@beta with: use_oauth: "true" claude_access_token: ${{ secrets.CLAUDE_ACCESS_TOKEN }} claude_refresh_token: ${{ secrets.CLAUDE_REFRESH_TOKEN }} claude_expires_at: ${{ secrets.CLAUDE_EXPIRES_AT }}
This fork maintains full backward compatibility with the original action. All existing workflows will continue to work without changes. OAuth is an optional authentication method alongside the existing options (API key, Bedrock, Vertex AI).