No description
  • TypeScript 89%
  • Python 5.8%
  • JavaScript 4.3%
  • Shell 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
forgejo-actions[bot] 1bef04d1b4
Some checks failed
CI All / test (push) Failing after 31s
CI All / prettier (push) Failing after 31s
CI All / typecheck (push) Successful in 13s
CI All / ci (push) Failing after 0s
CI All / test-inline-prompt (push) Failing after 53s
CI All / test-prompt-file (push) Failing after 50s
CI All / test-base-action (push) Failing after 0s
CI All / test-custom-executables-1 (push) Failing after 31s
CI All / test-custom-executables (push) Failing after 0s
CI All / test-mcp-integration (push) Failing after 35s
CI All / test-mcp-config-flag (push) Failing after 34s
CI All / test-mcp-servers (push) Failing after 0s
CI All / test-settings-inline-allow (push) Failing after 32s
CI All / test-settings-inline-deny (push) Failing after 30s
CI All / test-settings-file-allow (push) Failing after 38s
CI All / test-settings-file-deny (push) Failing after 34s
CI All / test-settings (push) Failing after 0s
CI All / Test Basic Type Conversions (push) Failing after 32s
CI All / Test Arrays and Objects (push) Failing after 31s
CI All / Test Edge Cases (push) Failing after 34s
CI All / Test Output Name Sanitization (push) Failing after 32s
CI All / Test Execution File Format (push) Failing after 27s
CI All / Summary (push) Failing after 1s
CI All / test-structured-output (push) Failing after 0s
mirror: 6119c14 Merge pull request 'Update dependency python to 3.14' (#145) from renovate/python-3.x into main
2026-08-15 18:57:33 +00:00
.claude Add pr-stamp-sweep review workflow (#1409) 2026-06-11 21:54:48 -07:00
.github ci: bump checkout and setup-bun in test workflows to Node 24 releases (#1379) 2026-06-02 12:03:04 -07:00
agent-approval-check Merge pull request 'Update dependency python to 3.14' (#145) from renovate/python-3.x into main 2026-08-15 18:57:28 +00:00
base-action Merge remote-tracking branch 'upstream/main' into chore/upstream-sync-20260720 2026-08-01 23:20:18 +00:00
docs Merge remote-tracking branch 'upstream/main' into chore/upstream-sync-20260720 2026-07-20 08:00:17 +00:00
examples Add agent-approval-check composite action (#1429) 2026-06-30 14:09:57 -07:00
scripts Add subprocess isolation setup and git credential helper (#1132) 2026-03-31 12:36:51 +01:00
src Merge remote-tracking branch 'upstream/main' into chore/upstream-sync-20260720 2026-08-01 23:20:18 +00:00
test fix: add null-safe author access in forgejo-data-fetcher tests 2026-07-20 08:06:20 +00:00
.gitignore fix(ci): update .gitignore to exclude Devbox files 2026-06-10 11:25:07 +03:00
.npmrc Initial commit 2025-05-19 08:32:32 -07:00
.prettierignore fix: simplify kcl-ci-build and exclude generated workflows from Prettier 2026-02-27 11:59:42 +02:00
.prettierrc Initial commit 2025-05-19 08:32:32 -07:00
action.yml Merge remote-tracking branch 'upstream/main' into chore/upstream-sync-20260622 2026-06-29 08:00:27 +00:00
bun.lock chore: bump Claude Code to 2.1.220 and Agent SDK to 0.3.220 2026-07-25 01:36:28 +00:00
bunfig.toml fix: pin bun runtime config and improve log hygiene (#1174) 2026-04-05 07:42:02 -07:00
CLAUDE.md chore: anonymize internal URLs for public release 2026-02-27 16:36:34 +02:00
CODE_OF_CONDUCT.md Initial commit 2025-05-19 08:32:32 -07:00
CONTRIBUTING.md docs: remove references to non-existent test-local.sh script (#187) 2025-06-19 07:52:42 -07:00
github-app-manifest.json feat(docs): simplify custom GitHub App creation with manifest support (#620) 2025-10-27 08:26:46 -07:00
LICENSE Initial commit 2025-05-19 08:32:32 -07:00
package.json chore: bump Claude Code to 2.1.220 and Agent SDK to 0.3.220 2026-07-25 01:36:28 +00:00
README.md chore: merge 12 upstream commits from anthropics/claude-code-action 2026-05-25 08:09:30 +00:00
renovate.json mirror: 6119c14 Merge pull request 'Update dependency python to 3.14' (#145) from renovate/python-3.x into main 2026-08-15 18:57:33 +00:00
ROADMAP.md feat: add flexible bot access control with allowed_bots option (#117) 2025-08-07 18:03:20 -07:00
SECURITY.md Update HackerOne links in SECURITY.md (#1268) 2026-05-07 11:21:40 +01:00
tsconfig.json feat: integrate claude-code-base-action as local subaction (#285) 2025-07-18 13:52:56 -07:00

Claude Code Action responding to a comment

Claude Code Action

A general-purpose Claude Code action for GitHub and Forgejo 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
  • 🔀 Forgejo Support: Runs on Forgejo with automatic platform detection — same action, same features, different git host

🔀 Forgejo Support

This fork adds full Forgejo support: direct token auth, REST-based data fetching, platform auto-detection, and a dedicated bot user model. Read the blog post for the full story, or jump straight to the Forgejo setup guide.

📦 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 on GitHub. For Forgejo, see docs/forgejo.md. 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

📚 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.