-
Notifications
You must be signed in to change notification settings - Fork 137
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 repo roles: #611
Add repo roles: #611
Conversation
0afceb2
to
34833fb
Compare
Codecov Report
@@ Coverage Diff @@
## main #611 +/- ##
=======================================
Coverage 44.39% 44.39%
=======================================
Files 61 61
Lines 3489 3489
=======================================
Hits 1549 1549
Misses 1857 1857
Partials 83 83 Continue to review full report at Codecov.
|
.github/settings.yml
Outdated
collaborators: | ||
# Maintainers | ||
- username: mmlb | ||
permission: maintain | ||
- username: micahhausler | ||
permission: maintain | ||
# Approvers | ||
- username: jacobweinstock | ||
permission: push | ||
- username: tstromberg | ||
permission: push | ||
- username: displague | ||
permission: push | ||
- username: nshalman | ||
permission: push | ||
# Reviewers | ||
- username: tobert | ||
permission: triage | ||
- username: stephen-fox | ||
permission: triage | ||
- username: chrisdoherty4 | ||
permission: triage | ||
- username: detiber | ||
permission: triage |
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.
What do you think about this form?
collaborators:
# Maintainers
- { permission: maintain, username: micahhausler }
- { permission: maintain, username: mmlb }
# Approvers
- { permission: push, username: displague }
- { permission: push, username: jacobweinstock }
- { permission: push, username: nshalman }
- { permission: push, username: tstromberg }
# Reviewers
- { permission: triage, username: chrisdoherty4 }
- { permission: triage, username: detiber }
- { permission: triage, username: stephen-fox }
- { permission: triage, username: tobert }
I like it because the groups are more obvious this way.
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.
There are some readability perks, but I think they are marginal (🥁 ).
I'm fine with the original (boring) yaml list, fwiw.
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.
no one ever got fired for picking vanilla :) Lets just go with the original.
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.
all users LGTM, one question about ordering
.github/settings.yml
Outdated
- username: mmlb | ||
permission: maintain | ||
- username: micahhausler | ||
permission: maintain |
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.
Serious question, do we want to alphabetize by GitHub username?
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.
heh actually alphabetizing is why I looked at the one-line-per to begin with 😄
# The permission to grant the collaborator. Can be one of: | ||
# * `pull` - can pull, but not push to or administer this repository. | ||
# * `push` - can pull and push, but not administer this repository. | ||
# * `admin` - can pull, push and administer this repository. |
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.
Let's add a note about CODEOWNERS file importance / role in the admin setting.
72886e1
34833fb
to
72886e1
Compare
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.
LGTM
72886e1
to
c45b75c
Compare
.github/workflows/CODEOWNERS
Outdated
@@ -0,0 +1,2 @@ | |||
/.github/settings.yml @mmlb @micahhausler | |||
/.github/CODEOWNERS @mmlb @micahhausler |
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 file is /.github/workflows/CODEOWNERS
, should it be /.github/CODEOWNERS
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.
ah good catch
This is needed to enable the repo roles defined by the community here: tinkerbell/org#10 Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
c45b75c
to
687f652
Compare
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.
LGTM
Description
This is needed to satisfy the repo roles defined by the community here: tinkerbell/org#10
Why is this needed
Fixes: #
How Has This Been Tested?
How are existing users impacted? What migration steps/scripts do we need?
Checklist:
I have: