Skip to content

Add Claude Code GitHub Workflow#45

Merged
pineapplestrikesback merged 2 commits into
mainfrom
add-claude-github-actions-1769117467677
Jan 22, 2026
Merged

Add Claude Code GitHub Workflow#45
pineapplestrikesback merged 2 commits into
mainfrom
add-claude-github-actions-1769117467677

Conversation

@pineapplestrikesback

@pineapplestrikesback pineapplestrikesback commented Jan 22, 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

Release Notes

  • Chores
    • Established GitHub Actions workflows to enable AI-assisted code review automation. Automated analysis is now triggered on pull request creation and updates. Additionally, developers can request on-demand code reviews by mentioning the assistant in PR comments and reviews, improving the overall code quality and review workflow efficiency.

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

@vercel

vercel Bot commented Jan 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
gym-analytics Error Error Jan 22, 2026 9:31pm

@coderabbitai

coderabbitai Bot commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Two new GitHub Actions workflows are added to automate Claude-based code review. The first workflow automatically triggers Claude Code Review on all pull request events, while the second enables on-demand reviews via mentions of "@claude" in comments and reviews.

Changes

Cohort / File(s) Summary
Automated PR Code Review
​.github/workflows/claude-code-review.yml
New workflow that automatically runs Claude Code Review on PR events (opened, synchronize, ready_for_review, reopened). Configures anthropics/claude-code-action with OAuth token, plugin marketplace, and prompt referencing PR repository and number. Sets permissions for contents, pull-requests, issues, and id-token.
On-Demand Claude Code Review
​.github/workflows/claude.yml
New workflow triggered by issue comments, PR review comments, PR events, and PR reviews. Activates when "@claude" is mentioned using multi-branch condition. Runs Claude Code action with OAuth token and additional_permissions for CI results. Includes commented-out optional settings for custom prompts and claude_args.

Poem

🐰 A rabbit hops through workflows grand,
Claude now reviews each code demand,
Auto-checks and mentions heard,
With every PR, on-time assured!
✨📝

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes


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.

@pineapplestrikesback
pineapplestrikesback merged commit 866ec34 into main Jan 22, 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