Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

claude-code-action

> 编程语言
Open source

Claude Code Action A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code changes. Thi…

8.5K stars0 likes1 views
WebsiteGitHub

About

Claude Code Action A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code changes. Thi…

Claude Code Action

A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code changes. This action intelligently detects when to activate based on your workflow context—whether responding to @claude mentions, issue assignments, or executing automation tasks with explicit prompts. It supports multiple authentication methods including Anthropic direct API (API key or workload identity federation), Amazon Bedrock, Google Vertex AI, and Microsoft Foundry.

Features

  • Intelligent Mode Detection: Automatically selects the appropriate execution mode based on your workflow context—no configuration needed
  • Interactive Code Assistant: Claude can answer questions about code, architecture, and programming
  • Code Review: Analyzes PR changes and suggests improvements
  • ✨ Code Implementation: Can implement simple fixes, refactoring, and even new features
  • PR/Issue Integration: Works seamlessly with GitHub comments and PR reviews
  • ️ Flexible Tool Access: Access to GitHub APIs and file operations (additional tools can be enabled via configuration)
  • Progress Tracking: Visual progress indicators with checkboxes that dynamically update as Claude completes tasks
  • Structured Outputs: Get validated JSON results that automatically become GitHub Action outputs for complex automations
  • Runs on Your Infrastructure: The action executes entirely on your own GitHub runner (Anthropic API calls go to your chosen provider)
  • ⚙️ Simplified Configuration: Unified prompt and claude_args inputs provide clean, powerful configuration aligned with Claude Code SDK

Upgrading from v0.x?

See our Migration Guide for step-by-step instructions on updating your workflows to v1.0. The new version simplifies configuration while maintaining compatibility with most existing setups.

Quickstart

The easiest way to set up this action is through Claude Code in the terminal. Just open claude and run /install-github-app.

This command will guide you through setting up the GitHub app and required secrets.

Note:

  • You must be a repository admin to install the GitHub app and add secrets
  • This quickstart method is only available for direct Anthropic API users. For AWS Bedrock, Google Vertex AI, or Microsoft Foundry setup, see docs/cloud-providers.md.

Solutions & Use Cases

Looking for specific automation patterns? Check our Solutions Guide for complete working examples including:

  • ** Automatic PR Code Review** - Full review automation
  • ** Path-Specific Reviews** - Trigger on critical file changes
  • ** External Contributor Reviews** - Special handling for new contributors
  • ** Custom Review Checklists** - Enforce team standards
  • ** Scheduled Maintenance** - Automated repository health checks
  • ️ Issue Triage & Labeling - Automatic categorization
  • ** Documentation Sync** - Keep docs updated with code changes
  • ** Security-Focused Reviews** - OWASP-aligned security analysis
  • ** DIY Progress Tracking** - Create tracking comments in automation mode

Each solution includes complete working examples, configuration details, and expected outcomes.

Documentation

  • Solutions Guide - ** Ready-to-use automation patterns**
  • Migration Guide - ⭐ Upgrading from v0.x to v1.0
  • Setup Guide - Manual setup, custom GitHub apps, and security best practices
  • Usage Guide - Basic usage, workflow configuration, and input parameters
  • Custom Automations - Examples of automated workflows and custom prompts
  • Configuration - MCP servers, permissions, environment variables, and advanced settings
  • Experimental Features - Execution modes and network restrictions
  • Cloud Providers - AWS Bedrock, Google Vertex AI, and Microsoft Foundry setup
  • Capabilities & Limitations - What Claude can and cannot do
  • Security - Access control, permissions, and commit signing
  • FAQ - Common questions and troubleshooting

FAQ

Having issues or questions? Check out our Frequently Asked Questions for solutions to common problems and detailed explanations of Claude's capabilities and limitations.

License

This project is licensed under the MIT License—see the LICENSE file for details.

Issues· 813 open

View all issuesOpen on GitHub
  • #1542

    Inline-comment buffer uses a fixed /tmp path that leaks comments across runs (and repos) on self-hosted runners

    Updated Sep 29, 2026
  • #1871

    CLAUDE.md line 44: MCP server install location does not match the code

    Updated Sep 29, 2026
  • #1099

    Use immutable github releases

    feature-requestp3Updated Sep 28, 2026
  • #141

    Claude code actions logs should be human readable and clearly show what commands Claude run and their output

    enhancementp3Updated Sep 28, 2026
  • #1819

    "Prompt is too long": review comment diffHunk (#1584) is added to the prompt with no size limit

    bugprovider:1pp2claude-code-assistedUpdated Sep 25, 2026
  • #1854

    download_job_log returns an empty log as success when its timeout fires mid-download

    Updated Sep 24, 2026
  • #1852

    Automation mode stops at the first `result`; background subagents leave the review silently empty

    Updated Sep 23, 2026
  • #1851

    Unable to override system prompt

    Updated Sep 23, 2026
  • #1850

    Bedrock: every docs example model ID fails (400 invalid / 404 end-of-life) — use the Claude Opus 5.5 inference profile

    Updated Sep 23, 2026
  • #1817

    v1.0.218: Claude Code 2.1.265 installer reports success but leaves no launcher on ubuntu-latest, every run fails with "native binary not found"

    bugarea:installationp1Updated Sep 22, 2026

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言