Skip to content

Github Auto Assigner: Update the assign logic - #13880

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl955347197
Open

Github Auto Assigner: Update the assign logic#13880
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl955347197

Conversation

@copybara-service

Copy link
Copy Markdown

Github Auto Assigner: Update the assign logic

Replace the modulo round-robin reviewer selection, this causes reviewer
starvation by rolling PR number when automated bot PRs are skipped.

This change updates the auto-assign workflow to assign two reviewers per PR.
It queries GitHub's GraphQL API for suggested reviewers based on git blame,
filters them against the eligible roster, and selects one. It then fills any
remaining slots (two in total) by randomly selecting from the remaining.

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Jul 28, 2026
Replace the modulo round-robin reviewer selection, this causes reviewer
starvation by rolling PR number when automated bot PRs are skipped.

This change updates the auto-assign workflow to assign two reviewers per PR.
It queries GitHub's GraphQL API for suggested reviewers based on git blame,
filters them against the eligible roster, and selects one. It then fills any
remaining slots (two in total) by randomly selecting from the remaining.

PiperOrigin-RevId: 955347197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant