Skip to content

Add Claude Code GitHub Workflow#207

Merged
justin808 merged 2 commits intomasterfrom
add-claude-github-actions-1770797928362
Feb 11, 2026
Merged

Add Claude Code GitHub Workflow#207
justin808 merged 2 commits intomasterfrom
add-claude-github-actions-1770797928362

Conversation

@justin808
Copy link
Member

@justin808 justin808 commented Feb 11, 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!

Summary by CodeRabbit

  • Chores
    • Enhanced automated code review workflow with expanded trigger conditions and improved permission controls for better security
    • Added new GitHub Actions workflow enabling inline code review requests through comment-based triggers to streamline development workflow

@justin808 justin808 merged commit 6114c01 into master Feb 11, 2026
4 checks passed
@justin808 justin808 deleted the add-claude-github-actions-1770797928362 branch February 11, 2026 08:19
@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

The PR refactors GitHub Actions workflows to embed Claude Code Review directly rather than delegating to an external reusable workflow, adds expanded PR event triggers (ready_for_review, reopened), tightens permissions, and introduces a new workflow for Claude interactions on comments/reviews containing "@claude".

Changes

Cohort / File(s) Summary
Claude Code Review Workflow
.github/workflows/claude-code-review.yml
Transitions from reusable workflow reference to explicit in-file implementation with expanded PR triggers, adjusted read permissions for pull-requests and issues, explicit checkout and action steps with token/plugin configuration, and clarified prompt.
Claude Interactions Workflow
.github/workflows/claude.yml
New workflow automating Claude Code interactions triggered by issue/PR comments and reviews containing "@claude", configures action with CLAUDE_CODE_OAUTH_TOKEN and optional customization fields.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Add Claude Code Review workflow #205: Prior PR added the delegated workflow approach that this PR replaces with an inline, expanded implementation featuring additional triggers and tighter permissions.

Poem

🐰 Hoppity hop! Claude's workflows refined,
No more delegation, new triggers aligned,
Comments spark reviews, permissions pulled tight,
Our rabbit-blessed CI now shines so bright! ✨

✨ 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-1770797928362

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