Skip to content

Add Claude Code GitHub Workflow#265

Merged
justin808 merged 2 commits intomainfrom
add-claude-github-actions-1770796701079
Feb 11, 2026
Merged

Add Claude Code GitHub Workflow#265
justin808 merged 2 commits intomainfrom
add-claude-github-actions-1770796701079

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

Release Notes

This release contains internal infrastructure updates with no user-facing changes. Workflow configurations have been refined to improve development processes and maintainability.

@justin808 justin808 merged commit 1d98a9d into main Feb 11, 2026
5 of 6 checks passed
@justin808 justin808 deleted the add-claude-github-actions-1770796701079 branch February 11, 2026 07:59
@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

Two GitHub Actions workflow files were updated: the Claude Code Review workflow was restructured to use explicit step-based execution with expanded trigger types and modified permissions, while the Claude workflow documentation URL was corrected.

Changes

Cohort / File(s) Summary
Workflow Restructuring
.github/workflows/claude-code-review.yml
Expanded PR triggers to include ready_for_review and reopened events. Restructured workflow from aggregate action to explicit step-based execution: added Checkout step, moved OAuth token from top-level secrets to step-level configuration, and changed permissions from write to read for pull-requests and issues. Added runs-on: ubuntu-latest.
Documentation Update
.github/workflows/claude.yml
Updated Claude CLI reference URL in comment from https://docs.claude.com/en/docs/claude-code/cli-reference to https://code.claude.com/docs/en/cli-reference.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Add Claude Code GitHub Workflow #259 — Modifies the same .github/workflows/claude-code-review.yml workflow file to add a Claude Code review job with similar step-based structure and configuration patterns.

Poem

🐰 Workflows now skip and hop with clarity,
Step by step, each action explicit and fair,
URLs corrected with bunny-care—
Claude reviews code with documented flair! ✨

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

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