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

Only add missing number of reviewers (if necessary) #137

Open bobek opened 3 years ago

bobek commented 3 years ago

Is your feature request related to a problem? Please describe. We have numberOfReviewers set to 2. Everything works as expected, bot will always add 2 new reviewers.

Describe the solution you'd like I would like to be able to instruct bot not to add more then missing count of reviewers for PRs where I've already selected reviewers manually. I would expect, that numberOfReviewers behaves as a desired number of reviewers on the PR. For example:

Alternatively we can introduce a new setting, something like maximumNumberOfReviewers for gating PRs which will get ignored by bot.

hnandiwada commented 3 years ago

I would love to see this implemented! I often have a specific reviewer in mind that I'd like to assign, and often find myself removing the bot's addition.