github anthropics/claude-code-action v1
Claude Code GitHub Action v1.0

one day ago

🎉 Claude Code GitHub Action v1.0 - Now Generally Available!

We're excited to announce the v1.0 release of Claude Code GitHub Action! This major release brings significant improvements in simplicity, flexibility, and power to AI-assisted development workflows.

🚀 What's New in v1.0

Simplified Configuration

  • Automatic mode detection - No more manual mode configuration. The action intelligently determines whether to run in interactive or automation mode based on your setup
  • Unified interface - All prompts now go through a single prompt input, and all CLI options through claude_args
  • Better SDK alignment - Closer integration with the Claude Code CLI for a consistent experience

More Powerful & Flexible

  • Direct access to all Claude Code CLI capabilities through claude_args
  • Support for custom system prompts, tool configurations, and model selection
  • Enhanced compatibility with AWS Bedrock and Google Vertex AI

⚠️ Breaking Changes

This release includes breaking changes from v0.x. Key deprecated inputs have been replaced with a cleaner, more intuitive API:

  • mode, direct_prompt, override_prompt → unified prompt input
  • custom_instructions, model, allowed_tools, mcp_configclaude_args with CLI format
  • Other deprecated: disallowed_tools, anthropic_model, trigger_phrase, timeout_minutes

📚 Please review our Migration Guide for detailed upgrade instructions and examples.

💡 New Use Cases & Examples

Explore the expanded possibilities with v1.0! We've created comprehensive examples showcasing various workflows:

  • Automated PR Reviews - Intelligent code review on every pull request
  • CI Failure Fixes - Automatically diagnose and fix failing tests
  • Issue Triage - Smart categorization and response to new issues
  • Documentation Generation - Keep docs in sync with code changes
  • Security Scanning - Proactive vulnerability detection
  • And many more!

🔧 Check out all examples at github.com/anthropics/claude-code-action/tree/main/examples

🏃 Quick Start

# Interactive mode - responds to @claude mentions
- uses: anthropics/claude-code-action@v1
  with:
    anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

# Automation mode - runs immediately with prompt
- uses: anthropics/claude-code-action@v1
  with:
    prompt: "Review this PR for security issues"
    anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
    claude_args: |
      --model claude-4-0-sonnet-20250805
      --max-turns 10

📖 Resources

🙏 Thank You

Thank you to our beta users for your invaluable feedback that shaped this release. We're excited to see what you'll build with Claude Code GitHub Action v1.0!

Don't miss a new claude-code-action release

NewReleases is sending notifications on new releases.