Repository navigation
Add claude GitHub actions 1758570412602 - #1
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdds two new GitHub Actions workflows: one to run Claude Code Review on pull requests, and another to enable Claude interactions triggered by mentions and various issue/PR events. Both use anthropics/claude-code-action@v1 with repository checkout and OAuth token configuration. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub
participant GHA as GitHub Actions Runner
participant Claude as anthropics/claude-code-action
participant API as GitHub API
rect rgb(240,248,255)
note over Dev,GH: Code Review Workflow (.github/workflows/claude-code-review.yml)
Dev->>GH: Open/Synchronize Pull Request
GH-->>GHA: Trigger workflow
GHA->>GHA: Checkout repo (shallow)
GHA->>Claude: Run with OAuth token + review prompt
Claude->>API: Post review via gh pr comment
end
sequenceDiagram
autonumber
actor User as User
participant GH as GitHub
participant GHA as GitHub Actions Runner
participant Claude as anthropics/claude-code-action
participant API as GitHub API
rect rgb(245,255,245)
note over User,GH: Event-Driven Claude (.github/workflows/claude.yml)
User->>GH: Issue/PR comment with @claude (or related events)
GH-->>GHA: Conditional trigger when mention detected
GHA->>GHA: Checkout repo (shallow)
GHA->>Claude: Execute with token, optional prompt/args
Claude->>API: Respond via comments/PR review as applicable
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
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. Comment |
Summary by CodeRabbit