-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature - Avoid duplications of the selected reviewers #37
Comments
sounds good to me! It seems you have it figured out so if you wanna go ahead and add the change, be my guest :) I'm currently rather inactive here so that'd be the quickest way to make it happen. |
you'll have to fork the repo, push your branch to your fork and create a pull request from there. That's the common way of contributing to repositories in which you don't have write access. Here's an explanation of the process: https://dev.to/codesphere/how-to-start-contributing-to-open-source-projects-on-github-534n In your case you'd have to:
|
We started to use this tool in our private repositories and we found that the tool can select the same person from the different groups.
I think it's a useful feature to avoid duplications of the selected reviewers.
For example, this is the definition of the groups:
The tool can select the
person_one
user from thegroup_one
and select the same user from thegroup_two
and the consequence of it is that only 1 person is selected as a reviewer of the pull request instead of 2.My suggested modifications in the lottery.ts file:
First of all, change the 93rd line to this and concat the selected users with the author of the pull request:
Second of all, change the 105th line to this because the type of the
ignore
parameter changed in the previous step:Finally, change the 108th line to avoid duplications:
The text was updated successfully, but these errors were encountered: