When contributor1 is the author/owner of the PR, they won't be included even the numberOfAssignees is a number large enough to include them in the sample of the collection.
Issue: I'm wondering what the intent is for this logic, and if the project is open to allowing an option in the config to include author/owner along with other assignees.
Taking a look at the code, it appears that the owner / author can not be an assignee in conjunction with other assignees.
https://github.com/kentaro-m/auto-assign-action/blob/master/src/utils.ts
For example:
When
contributor1
is the author/owner of the PR, they won't be included even thenumberOfAssignees
is a number large enough to include them in the sample of the collection.Issue: I'm wondering what the intent is for this logic, and if the project is open to allowing an option in the config to include author/owner along with other assignees.