Add Claude Code workflow for PR reviews and @claude mentions#41
Merged
Conversation
Adds the main Claude Code action that responds to @claude mentions in PR comments, review comments, and issues. Grants write permissions so Claude can approve PRs, push fixes, and merge when appropriate. The existing claude-review.yml auto-triggers reviews on new PRs by posting @claude comments — this workflow handles those requests. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@claude Please review this PR. Focus on:
Use the opus model for thorough analysis. |
The old workflow posted an @claude comment on every PR which triggered an Opus review (~30 min). Now uses Sonnet directly as a CI step for fast, automatic PR reviews. Manual @claude mentions still available for deeper Opus reviews when needed. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claude.ymlworkflow that responds to@claudementions in PR comments, review comments, and issuesclaude-review.ymlwhich auto-triggers reviews on new PRsPrerequisites
CLAUDE_CODE_OAUTH_TOKENsecret must be added to this repo (Settings > Secrets > Actions)Test plan
CLAUDE_CODE_OAUTH_TOKENsecret@claudetriggers a review🤖 Generated with Claude Code