From 4a1cb6b47c10fdf18f3b264b7cdd2e4724093f9a Mon Sep 17 00:00:00 2001 From: Rodin Date: Sun, 10 May 2026 23:40:24 -0700 Subject: [PATCH] docs: add read:user to required token scopes The read:user scope is needed for the bot to self-request as a reviewer on PRs. Without it, the bot still functions but cannot add itself to the reviewer list. Closes #66 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23fc038..cd9fc03 100644 --- a/README.md +++ b/README.md @@ -329,11 +329,12 @@ All flags have environment variable equivalents: ### Token Scopes Required | Scope | Purpose | -|-------|---------| +|-------|--------| | `write:issue` | Post and delete reviews | | `write:repository` | Read PR diffs, file content, commit statuses | +| `read:user` | Self-request as reviewer (optional but recommended) | -No `read:user` scope needed — the bot identifies itself from the review response. +Without `read:user`, the bot still works but cannot add itself to the PR's reviewer list. ## Development