Skip to content

Releases: anthropics/claude-code-action

v1.0.147

12 Jun 21:55

Choose a tag to compare

What's Changed

Full Changelog: v1...v1.0.147

v1.0.146

12 Jun 04:25

Choose a tag to compare

What's Changed

  • test: add unit tests for parseGitHubContext and context type guards by @mateuscmtropical in #1404
  • docs(faq): correct rebase FAQ to match actual behavior by @bymle in #1370
  • fix: fall back to inherited env for auth when inputs are empty by @kirsanium in #1342
  • fix: break SDK iterator after result message to prevent hang in pull_request runs by @scobbe in #1339
  • Pin setup-bun binary for post-steps by @kiwigitops in #1365
  • fix: clear stale claude-prompts dir before each write by @kyungilpark in #1288
  • Include labels in formatContext() output for issues and PRs by @joshpayne-joby in #1298
  • fix(sanitizer): match attribute quotes by type to avoid mangling content by @bymle in #1371
  • docs: fix execution file parsing example by @looooown2006 in #1297
  • fix(image-downloader): detect image type from magic bytes, not URL extension by @pmespresso in #1396

New Contributors

Full Changelog: v1...v1.0.146

v1.0.145

12 Jun 01:18

Choose a tag to compare

Full Changelog: v1...v1.0.145

Claude Code GitHub Action v1.0

26 Aug 17:01

Choose a tag to compare

🎉 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!

v1.0.144

11 Jun 05:44

Choose a tag to compare

Full Changelog: v1...v1.0.144

v1.0.143

10 Jun 21:02

Choose a tag to compare

What's Changed

  • Drop --tsconfig-override from Bun invocations to avoid runtime crash by @chsmc-ant in #1315

New Contributors

Full Changelog: v1...v1.0.143

v1.0.142

09 Jun 17:29

Choose a tag to compare

Full Changelog: v1...v1.0.142

v1.0.141

08 Jun 21:58

Choose a tag to compare

Full Changelog: v1...v1.0.141

v1.0.140

06 Jun 23:43

Choose a tag to compare

Full Changelog: v1...v1.0.140

v1.0.139

06 Jun 01:35

Choose a tag to compare

Full Changelog: v1...v1.0.139