-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
When using Claude Code sub-agents to review PRs, comments are posted under the developer's own GitHub account. This makes it hard to distinguish human feedback from automated review feedback.
Desired Behavior
Support posting PR review comments (summary + inline) under a separate GitHub identity (bot account or GitHub App) so that automated reviews are clearly distinguishable from human reviews.
Proposed Approach
- Accept a configurable
GH_REVIEW_BOT_TOKENenvironment variable - When set, PR review agents use this token (
GH_TOKEN=<token> gh pr ...) instead of the defaultghauth - Comments then appear under the bot's identity (e.g.
code-review-bot[bot])
Options
- GitHub App — cleanest; shows as
app-name[bot], fine-grained permissions - Separate PAT — simpler setup; requires a second GitHub account
- Configurable in settings — add a
review-bot-tokenfield to project settings
Context
Currently PR review sub-agents are spawned manually during Claude Code sessions. Adding bot identity support would improve review UX and enable future automation via GitHub Actions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels