You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the existing action, the workflow will assign a reviewer regardless of if that reviewer has already been assigned to the pull request: necojackarc#110
This additionally has the issue of sending extra notifications about being added to a review that you have previously been added to, making it more difficult to manage PR review requests.
To solve this, we add an additional REST call to GH to retrieve the current users that have already been assigned to the PR. We then remove those previously assigned aliases from the list of aliases the workflow will assign.
There is also a slight optimization to not make the PUT REST call to add reviewers if there exists no list of reviewers to add (instead of making the call with no reviewers).
It seems the auto-request will start even if a suitable reviewer has already approved the PR. This creates a lot of noise.
The text was updated successfully, but these errors were encountered: