Skip to content
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

Assignees enhancement - Option to include Author (ie. owner) in conjunction with other auto-assignees. #53

Open
4justinstewart opened this issue Jun 30, 2021 · 0 comments

Comments

@4justinstewart
Copy link

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:

addAssignees: true

assignees:
  - contributor1
  - contributor2
  - contributor3
  - contributor4
  - contributor5
  - contributor6

numberOfAssignees: 6

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant