Skip to content

Add Claude Code auto-review on PRs#4

Closed
tvanle wants to merge 1 commit intomainfrom
setup-claude-review
Closed

Add Claude Code auto-review on PRs#4
tvanle wants to merge 1 commit intomainfrom
setup-claude-review

Conversation

@tvanle
Copy link
Copy Markdown
Owner

@tvanle tvanle commented Mar 5, 2026

Summary

  • Adds GitHub Actions workflow that automatically runs Claude Code review on every PR (opened, updated, reopened)
  • Supports @claude mentions in PR comments for on-demand review
  • Reviews focus on: code quality, bugs, security, performance, TypeScript safety
  • Includes inline code comments for specific issues

Setup required

After merging, add ANTHROPIC_API_KEY to repo secrets:

  1. Go to Settings → Secrets and variables → Actions
  2. Click New repository secret
  3. Name: ANTHROPIC_API_KEY
  4. Value: your Anthropic API key from https://console.anthropic.com/

Test plan

  • Add ANTHROPIC_API_KEY secret to repo
  • Merge this PR
  • Create a test PR to verify auto-review triggers
  • Comment @claude review this on a PR to test on-demand review

🤖 Generated with Claude Code

Sets up GitHub Actions workflow that automatically reviews PRs
when they are created or updated. Also supports @claude mentions
in PR comments for on-demand review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tvanle tvanle closed this Mar 8, 2026
@tvanle tvanle deleted the setup-claude-review branch March 8, 2026 00:53
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