Skip to content

Add Claude Code GitHub Workflow - #20

Merged
stephenfeather merged 2 commits into
mainfrom
add-claude-github-actions-1768498446446
Jan 15, 2026
Merged

stephenfeather merged 2 commits into
mainfrom
add-claude-github-actions-1768498446446

Conversation

@stephenfeather

@stephenfeather stephenfeather commented Jan 15, 2026 •

Copy link
Copy Markdown
Owner

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

Summary by CodeRabbit

  • Chores
    • Configured automated code review workflow to activate when pull requests are opened, synchronized, ready for review, or reopened
    • Integrated Claude code assistant that can be invoked through mentions and comments on issues and pull requests
    • GitHub Actions workflows now automate code review and development assistance processes

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 15, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Two new GitHub Actions workflows are introduced to integrate Claude Code Review automation. The first workflow automatically runs code reviews on pull requests, while the second activates Claude Code assistance when "@claude" is mentioned in comments or reviews.

Changes

Cohort / File(s) Summary
Claude Code Review Automation
​.github/workflows/claude-code-review.yml
New workflow triggered on PR events (opened, synchronize, ready_for_review, reopened) that automatically runs Claude Code Review action with token, plugin marketplace, and plugins configured. Includes optional path and author-based filtering.
Claude Code Comment Integration
​.github/workflows/claude.yml
New workflow triggered by "@claude" mentions in issue comments, PR review comments, issues, and PR reviews that invokes anthropics/claude-code-action with token configuration and commented optional prompt settings.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Two workflows hop into place,
Claude reviews code at quickened pace,
@mentions summon automation's might,
PR feedback happens day and night!
✨ The CI pipeline's now more bright!



📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f1d5402 and 1239be9.

📒 Files selected for processing (2)
  • .github/workflows/claude-code-review.yml
  • .github/workflows/claude.yml

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


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.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@stephenfeather
stephenfeather merged commit 3173fa6 into main Jan 15, 2026
2 of 5 checks passed
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