Skip to content

Add Claude Code GitHub Workflow#4

Merged
leogdion merged 2 commits intomainfrom
add-claude-github-actions-1771252490549
Feb 16, 2026
Merged

Add Claude Code GitHub Workflow#4
leogdion merged 2 commits intomainfrom
add-claude-github-actions-1771252490549

Conversation

@leogdion
Copy link
Member

@leogdion leogdion commented Feb 16, 2026

🤖 Installing Claude Code GitHub App

This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.

What is Claude Code?

Claude Code is an AI coding agent that can help with:

  • Bug fixes and improvements
  • Documentation updates
  • Implementing new features
  • Code reviews and suggestions
  • Writing tests
  • And more!

How it works

Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.

Important Notes

  • This workflow won't take effect until this PR is merged
  • @claude mentions won't work until after the merge is complete
  • The workflow runs automatically whenever Claude is mentioned in PR or issue comments
  • Claude gets access to the entire PR or issue context including files, diffs, and previous comments

Security

  • Our Anthropic API key is securely stored as a GitHub Actions secret
  • Only users with write access to the repository can trigger the workflow
  • All Claude runs are stored in the GitHub Actions run history
  • Claude's default tools are limited to reading/writing files and interacting with our repo by creating comments, branches, and commits.
  • We can add more allowed tools by adding them to the workflow file like:
allowed_tools: Bash(npm install),Bash(npm run build),Bash(npm run lint),Bash(npm run test)

There's more information in the Claude Code action repo.

After merging this PR, let's try mentioning @claude in a comment on any PR to get started!


Perform an AI-assisted review on CodePeer.com

Summary by CodeRabbit

  • New Features
    • Automated code reviews now run on all pull requests.
    • Code review requests can be triggered on-demand by mentioning Claude in PR comments or review threads.

@leogdion leogdion merged commit 3e93bd8 into main Feb 16, 2026
1 check passed
@coderabbitai
Copy link

coderabbitai bot commented Feb 16, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Two new GitHub Actions workflows are added to enable Claude-powered code review automation. One workflow triggers automatically on pull request events (opened, synchronize, ready_for_review, reopened), while the other activates when @claude is mentioned in issue or PR comments/reviews.

Changes

Cohort / File(s) Summary
Claude Code Review Workflows
.github/workflows/claude-code-review.yml, .github/workflows/claude.yml
Adds two GitHub Actions workflows for automated code review via Claude. The first triggers on PR events and runs review via Claude action with configurable filters. The second triggers on mentions (@claude) in comments/reviews with optional custom prompts and permissions configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Two workflows hop into place,
Claude reviews code at a rapid pace,
Just mention the name with the @ sign,
And feedback appears, perfectly fine!
Automation hops forward with grace. 🐇

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch add-claude-github-actions-1771252490549

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant