Skip to content

Add Claude Code workflow for PR reviews and @claude mentions#41

Merged
Joxx0r merged 2 commits intomainfrom
add-claude-code-workflow
Feb 11, 2026
Merged

Add Claude Code workflow for PR reviews and @claude mentions#41
Joxx0r merged 2 commits intomainfrom
add-claude-code-workflow

Conversation

@Joxx0r
Copy link
Collaborator

@Joxx0r Joxx0r commented Feb 11, 2026

Summary

  • Add claude.yml workflow that responds to @claude mentions in PR comments, review comments, and issues
  • Grants write permissions so Claude can:
    • Approve PRs
    • Push code fixes
    • Merge PRs when appropriate
    • Comment on issues and PRs
  • Works with existing claude-review.yml which auto-triggers reviews on new PRs

Prerequisites

  • CLAUDE_CODE_OAUTH_TOKEN secret must be added to this repo (Settings > Secrets > Actions)
  • Claude Code GitHub App must be installed on this repo (https://github.com/apps/claude)

Test plan

  • Merge this PR
  • Add the CLAUDE_CODE_OAUTH_TOKEN secret
  • Install Claude Code GitHub App if not already done
  • Open a test PR and verify @claude triggers a review

🤖 Generated with Claude Code

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>
@github-actions
Copy link

@claude Please review this PR. Focus on:

  • Code quality and potential bugs
  • Security issues
  • Test coverage
  • Documentation completeness

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>
@Joxx0r Joxx0r merged commit 2f6ff0b into main Feb 11, 2026
1 check failed
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