Skip to content

Add Claude Code Review GitHub Action#8

Merged
jonnyspicer merged 1 commit into
masterfrom
feature/add-claude-code-review
Dec 2, 2025
Merged

Add Claude Code Review GitHub Action#8
jonnyspicer merged 1 commit into
masterfrom
feature/add-claude-code-review

Conversation

@jonnyspicer

Copy link
Copy Markdown

Summary

Adds automated code review using Claude for all pull requests.

What's New

This PR adds a GitHub Action that automatically reviews PRs using Claude Code, matching the configuration from the adsb2dd repository.

Workflow Details

Trigger: Runs on PR opened and synchronize events

Review Criteria:

  • ✅ Code quality and best practices
  • ✅ Potential bugs or issues
  • ✅ Performance considerations
  • ✅ Security concerns
  • ✅ Test coverage

Behavior:

  • Uses CLAUDE.md for style and convention guidance
  • Posts review feedback as PR comments via gh CLI
  • Allowed to read issues, PRs, and repository contents
  • Uses restricted tool permissions for security

Configuration

The workflow requires the CLAUDE_CODE_OAUTH_TOKEN secret to be set in the repository settings.

Example Review Flow

  1. Developer opens/updates a PR
  2. Action triggers automatically
  3. Claude reviews the code changes
  4. Feedback posted as PR comment
  5. Developer addresses feedback and updates PR

Optional Customizations

The workflow includes commented-out options for:

  • Path filtering: Only run on specific file types/directories
  • Author filtering: Only review PRs from specific users (e.g., external contributors)

Benefits

  • 🚀 Faster feedback on PRs
  • 🔍 Consistent code quality checks
  • 🛡️ Security and performance review
  • 📚 Style consistency with CLAUDE.md
  • ⚡ Reduces reviewer burden

Testing

This PR itself will trigger the workflow once merged, providing an immediate test case.

🤖 Generated with Claude Code

Adds automated code review for pull requests using Claude.

This workflow:
- Runs on PR open and synchronize events
- Reviews code quality, bugs, performance, security, and tests
- Posts feedback as PR comments using gh CLI
- Uses CLAUDE.md for style and convention guidance

Same configuration as adsb2dd repo.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jonnyspicer jonnyspicer force-pushed the feature/add-claude-code-review branch from e938d9b to e6a1c68 Compare December 2, 2025 14:21
@jonnyspicer jonnyspicer merged commit 5b7c7c5 into master Dec 2, 2025
1 check passed
@jonnyspicer jonnyspicer deleted the feature/add-claude-code-review branch December 2, 2025 15:19
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