Wain AI/Tech Blog

AI news and trends worldwide, updated nearly every day

Claude Code Introduces Max Subscription Support for GitHub Actions

Claude Code Introduces Max Subscription Support for GitHub Actions

Anthropic enables GitHub Actions integration for individual Max plan users. OAuth token authentication eliminates the need for separate API keys in CI/CD environments

Anthropic has launched support for individual Max subscription plans in the GitHub Actions integration of its AI coding assistant “Claude Code.” This enables Max plan users to utilize Claude Code in CI/CD environments without purchasing separate API keys1.

In July 2025, Anthropic announced new features for Max subscription users on GitHub. With Claude Code v1.0.44 and later, GitHub Actions integration can be configured using the /install-github-app command, enabling seamless integration through OAuth token authentication1.

Overview of Max Subscription Support

This update makes GitHub Actions integration, which previously required separate API key purchases, available with existing Max subscriptions. This provides significant benefits for individual developers and startups in terms of both cost reduction and improved convenience12.

Key features:

  • Seamless integration through OAuth token authentication
  • No need for separate API key purchases
  • GitHub Actions available with existing Max subscriptions
  • Unified access permissions for Pro/Max plans

Technical Implementation

OAuth tokens are generated using the claude setup-token command and stored in GitHub Secrets as CLAUDE_CODE_OAUTH_TOKEN. Workflows pass it through the claude_code_oauth_token input2.

Setup Instructions

1. Update Claude Code

First, update Claude Code to v1.0.44 or later:

claude update

2. Generate OAuth Token

Generate a token using Claude Code in your local environment:

claude setup-token

This command generates an OAuth token linked to your Max subscription account. If manual generation is needed, using this command is recommended1.

3. Configure GitHub Actions Workflow

Add the following configuration to your .github/workflows/claude-assistant.yml file:

name: Claude Assistant
on:
  issue_comment:
    types: [created]
  pull_request_review_comment:
    types: [created]
  issues:
    types: [opened, assigned, labeled]
  pull_request_review:
    types: [submitted]

jobs:
  claude-response:
    runs-on: ubuntu-latest
    steps:
      - uses: anthropics/claude-code-action@beta
        with:
          # Max subscription users use OAuth token
          claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
          github_token: ${{ secrets.GITHUB_TOKEN }}

4. Configure GitHub Secrets

Add the Secret in your repository settings:

  1. Navigate to repository “Settings” → “Secrets and variables” → “Actions”
  2. Click “New repository secret”
  3. Name: CLAUDE_CODE_OAUTH_TOKEN
  4. Value: Paste the generated OAuth token

Available Features

GitHub Actions integration enables the following automation2:

Code Reviews

Automated code reviews for pull requests, providing code quality assessments, potential bug detection, and improvement suggestions.

Automated Implementation

Automatically implement requested features or bug fixes by mentioning “@claude” in issues.

Pricing Plans and Usage Limits

Pro and Max Plans (as of July 2025)

As of July 2025, Anthropic’s help center described Claude Code usage as follows. The $20/month tier is the Pro plan, not Max; Max comes in two tiers, $100/month and $200/month4.

  • Pro plan ($20/month): Approximately 10-40 prompts/5 hours
  • Max 5x ($100/month): Approximately 50-200 prompts/5 hours
  • Max 20x ($200/month): Approximately 200-800 prompts/5 hours4

Models available in Claude Code:

  • Sonnet 4 (Pro and Max)
  • Opus 4 (Max only)4

Unified access enables web interface, desktop/mobile apps, and Claude Code all under a single subscription4.

Important Notes and Limitations

Single User Focus

Anthropic emphasizes that Max subscriptions are intended for single users. For repositories with multiple users, traditional API key usage is still recommended1.

From Beta to v1

When this article was published (July 2025), the workflow example referenced anthropics/claude-code-action@beta, as shown above. The current official documentation uses @v1 and asks users whose workflows still reference @beta to update them to @v1 (checked October 14, 2026)2.

Summary

Max subscription support for Claude Code’s GitHub Actions integration is gaining attention as a feature that significantly contributes to developer productivity. The ability to utilize AI assistance without purchasing expensive API keys separately is particularly beneficial for individual developers and startups.

To better understand these features, here are some helpful resources:

Sources

  1. Claude Code GitHub Actions Issue #4 - Max subscription support - Official Anthropic announcement
  2. Claude Code Documentation - GitHub Actions - Official documentation
  3. Claude Code Repository - Official repository
  4. Using Claude Code with your Pro or Max Plan - Anthropic Help Center (archived July 10, 2025)

We publish the latest AI news nearly every day.

Subscribe via RSS Get new posts the moment they go live.

Search other keywords →