kentaro-m / auto-assign

🤖 A Probot app that adds reviewers to pull requests when pull requests are opened.
https://probot.github.io/apps/auto-assign/
ISC License
249 stars 55 forks source link

Pick reviewers deterministically based on PR ID #126

Open sdotz opened 4 years ago

sdotz commented 4 years ago

Is your feature request related to a problem? Please describe. I'm using actions and it assigned reviewers randomly each time the PR is updated with a new change, eventually adding too many people or everyone on my list.

Describe the solution you'd like I'd like it to use some deterministic way of picking reviewers that is associated with something like a PR ID, so it will not assign more, different people with each push to the PR.

Describe alternatives you've considered I haven't looked, but if PR ID is not a thing, maybe some other PR metadata, or branch name could be used.

I can look into implementing this and look forward to hearing if you like the idea and would accept a PR.

charlesmuchene commented 4 years ago

Interesting. I was thinking about this along the lines of ignoring requesting the author as a reviewer.