Task Summary
Extend the comment-command automation in take-commands.yml so PR authors can request reviewers via comments:
/review @alice @bob requests review from alice and bob on the current PR.
/unreview @alice cancels a pending review request from alice.
Follow-up to #4884 (comment).
Implementation: add a sibling job in take-commands.yml triggered by issue_comment.created with issue.pull_request != null, mirroring the job-level startsWith gate so non-matching comments do not allocate a runner. Restrict to the PR author so drive-by reviewer assignment from non-authors is dropped. Use pulls.requestReviewers / pulls.removeRequestedReviewers; the workflow needs pull-requests: write.
Task Type
Task Summary
Extend the comment-command automation in
take-commands.ymlso PR authors can request reviewers via comments:/review @alice @bobrequests review fromaliceandbobon the current PR./unreview @alicecancels a pending review request fromalice.Follow-up to #4884 (comment).
Implementation: add a sibling job in
take-commands.ymltriggered byissue_comment.createdwithissue.pull_request != null, mirroring the job-levelstartsWithgate so non-matching comments do not allocate a runner. Restrict to the PR author so drive-by reviewer assignment from non-authors is dropped. Usepulls.requestReviewers/pulls.removeRequestedReviewers; the workflow needspull-requests: write.Task Type