From 149ce1e3d33a901e847c29b8047ebd8a8c4c33aa Mon Sep 17 00:00:00 2001 From: pb <5535435+pekth@users.noreply.github.com> Date: Wed, 18 Nov 2026 23:10:22 -0500 Subject: [PATCH] docs(pr-agent): give each comment its own run group in the caller template Co-Authored-By: Claude Fable 5.2 --- docs/USAGE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/USAGE.md b/docs/USAGE.md index 341d7f1..e30c112 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -207,9 +207,9 @@ permissions: issues: write id-token: write # GitHub's identity token, exchanged for a short-lived Anthropic token concurrency: - # Commands from people with write access share one queue per PR. Any other comment - # gets its own group, so it never replaces a queued command. - group: pr-agent-${{ github.event.pull_request.number || github.event.issue.number }}-${{ github.event_name == 'issue_comment' && !(github.event.issue.pull_request && contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association) && (startsWith(github.event.comment.body, '/review') || startsWith(github.event.comment.body, '/ask') || startsWith(github.event.comment.body, '/improve'))) && github.event.comment.id || 'review' }} + # One review at a time per PR. Every comment gets its own group, so a command is + # never replaced by a later comment or event; a command can run beside a review. + group: pr-agent-${{ github.event.pull_request.number || github.event.issue.number }}-${{ github.event.comment.id || 'review' }} cancel-in-progress: false jobs: review: