Skip to content

Conversation

@justin808
Copy link
Member

Summary

  • Replaces the inline Claude Code Review workflow with a call to the shared reusable workflow in shakacode/.github
  • Removes the hardcoded --model claude-sonnet-4-5-20250929 — uses Claude Code's default model (currently Opus 4.6)
  • Future model or config changes only need to be made in one place

Dependencies

Test plan

🤖 Generated with Claude Code

Replace the inline review config with a call to the shared reusable
workflow in shakacode/.github. This removes the hardcoded model
so reviews use Claude Code's default.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@coderabbitai
Copy link

coderabbitai bot commented Feb 9, 2026

Warning

Rate limit exceeded

@justin808 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 47 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch jg/use-centralized-review-workflow

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.

@greptile-apps
Copy link

greptile-apps bot commented Feb 9, 2026

Greptile Overview

Greptile Summary

Replaced the inline Claude Code Review workflow with a reusable workflow reference to shakacode/.github, centralizing configuration management.

Key changes:

  • Removed 40+ lines of inline workflow configuration (checkout steps, permissions, prompt, model selection)
  • Now delegates to shakacode/.github/.github/workflows/claude-code-review.yml@main
  • Removed hardcoded --model claude-sonnet-4-5-20250929, allowing use of Claude Code's default model
  • Maintains the same trigger conditions (opened, synchronize on pull requests)
  • Passes CLAUDE_CODE_OAUTH_TOKEN secret to the shared workflow

This simplifies maintenance - future model updates or workflow changes only need to be made in the centralized location.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The change is a straightforward refactoring that extracts inline workflow configuration into a reusable workflow. The functionality remains identical - it triggers on the same events and passes the same secret. The file follows YAML syntax correctly, includes the required trailing newline per project standards, and the dependency on Add reusable Claude Code Review workflow .github#4 is clearly documented in the PR description
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/claude-code-review.yml Refactored to use centralized reusable workflow from shakacode/.github, removing inline configuration and hardcoded model selection

Sequence Diagram

sequenceDiagram
    participant PR as Pull Request Event
    participant GHA as GitHub Actions
    participant Local as Local Workflow<br/>(.github/workflows/claude-code-review.yml)
    participant Shared as Shared Workflow<br/>(shakacode/.github)
    participant Claude as Claude Code Action
    participant Repo as Repository

    PR->>GHA: trigger (opened/synchronize)
    GHA->>Local: execute workflow
    Local->>Shared: call reusable workflow<br/>(pass CLAUDE_CODE_OAUTH_TOKEN)
    Shared->>Claude: run claude-code-action
    Claude->>Repo: fetch code & history
    Claude->>Claude: analyze PR changes
    Claude->>Repo: post review comments
    Shared->>Local: workflow complete
    Local->>GHA: complete
Loading

@justin808 justin808 closed this Feb 9, 2026
@justin808 justin808 deleted the jg/use-centralized-review-workflow branch February 9, 2026 01:54
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