Skip to content

Request a review from the whole list, not one reviewer at random - #4

Merged
VPS-Georg merged 1 commit into
v1.xfrom
auto-assign-workflow
Aug 27, 2026
Merged

VPS-Georg merged 1 commit into
v1.xfrom
auto-assign-workflow

Conversation

@VPS-Georg

@VPS-Georg VPS-Georg commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #3, which switched .github/auto_assign.yml from the Auto Assign App to the action without this key.

The app read an absent numberOfReviewers as "all reviewers", so the key was never needed while the app ran. The action reads it as one random reviewer: it treats only an explicit 0 as "all", and lodash sampleSize falls back to a single pick when the count is undefined. Setting it to 0 keeps the behavior the app had.

Worth noting that #4's own workflow run requested all four reviewers before this change. That is not evidence the key is unnecessary — pull_request runs read the config from the merge commit, which already contained it.

The Auto Assign App read an absent `numberOfReviewers` as "all reviewers", so
the key was never needed while the app ran. The action reads it as one random
reviewer: it treats only an explicit 0 as "all", and lodash `sampleSize` falls
back to a single pick when the count is undefined. Set it to 0 to keep the
behavior the app had.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@VPS-Georg
VPS-Georg force-pushed the auto-assign-workflow branch from adce165 to 15ef229 Compare August 27, 2026 06:28
@VPS-Georg VPS-Georg changed the title Assign the author and request reviews on new pull requests Request a review from the whole list, not one reviewer at random Aug 27, 2026
@VPS-Georg
VPS-Georg merged commit db8ea3b into v1.x Aug 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants