mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #41] [MERGED] ci(assign-reviewers): write the ASSIGNEE field instead of requesting reviewers #51
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/41
Author: @mattmillerai
Created: 7/20/2026
Status: ✅ Merged
Merged: 7/20/2026
Merged by: @mattmillerai
Base:
main← Head:matt/assign-reviewers-write-assignee📝 Commits (1)
35c4231ci(assign-reviewers): write the ASSIGNEE field instead of requesting reviewers📊 Changes
1 file changed (+30 additions, -24 deletions)
View changed files
📝
.github/workflows/assign-reviewers.yml(+30 -24)📄 Description
ELI-5
Our reviewer auto-assignment robot was tapping people via GitHub's "review requested" list — but this team watches the Assignee field to know a PR needs them. So the robot was alerting a room nobody's in. This makes it write the Assignee field, so the right experts actually get pinged.
What
The reusable
assign-reviewers.ymlselects expertise-aware, load-balanced people, then requested them as reviewers. Confirmed with @mattmillerai that this org routes/alerts via the assignee field, not requested-reviewers. Three functional changes; selection logic unchanged:pulls.requestReviewers({reviewers})→issues.addAssignees({issue_number, assignees}).pr.assignees.length > 0(wasrequested_reviewers).assignee:${login}(wasreview-requested:${login}).Plus comment/name updates so the file matches its behavior.
Back-compat & notes
.github/reviewers.ymlschema, andnum_reviewersare unchanged — only the field written flips.addAssigneescaps at 10 and silently drops non-collaborators (unlikerequestReviewers, which errors) — exactly the staleness the BE-3790 validation check is meant to catch.Pull requests: write, which CLOUD_CODE_BOT already carries. If assignment ever 403s, addIssues: writeto the app.Rollout
First consumer is the cloud caller (cloud#4640 / BE-1944), whose pin bumps to this commit. No other caller is affected. Related: BE-1943 (original reusable), BE-3790 (login validation).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.