-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add github action to assign maintainers to PRs #983
Conversation
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great to me :)
.github/auto-assignees.yaml
Outdated
- wip | ||
- DO NOT MERGE | ||
enable_group_assignment: true | ||
number_of_reviewers: 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 2 is enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
@@ -0,0 +1,30 @@ | |||
# This assigns a PR to its author | |||
addAssignees: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems not required currently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you think so? Every example (even the upstream one) explicitly sets this to true:
https://github.com/kentaro-m/auto-assign-action#single-reviewers-list
And matches what harbor
repo has set:
https://github.com/goharbor/harbor/blob/a826720cc94dd9ac8d3495ba74a913055a2a9268/.github/auto-assignees.yml#L3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be either true or author, we need true so we have array of assignees
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add wy65701436 , and assign to him
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean adding @wy65701436 to the list of assignees?
I took the current list from here: https://github.com/goharbor/harbor-operator/blob/master/MAINTAINERS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MarcelMue correct but Yan Wang @wy65701436 is currently the overall tech lead for Harbor so it's good to have him :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wy65701436 can you confirm please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
I think that's is done shall we merge ? @goharbor/all-maintainers |
Signed-off-by: Marcel Mueller marcel.mueller1@rwth-aachen.de