From 1d0ecf0ce49b8200fc3a012421a33107c6b6a929 Mon Sep 17 00:00:00 2001 From: Jacob Weinstock Date: Fri, 29 Apr 2022 11:11:41 -0600 Subject: [PATCH] Add repo roles: This is needed to enable the repo roles defined by the community here: tinkerbell/org#10 Signed-off-by: Jacob Weinstock --- .github/CODEOWNERS | 2 ++ .github/settings.yml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/settings.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..a344d88 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +/.github/settings.yml @jeremytanner +/.github/CODEOWNERS @jeremytanner diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..eea42c7 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,22 @@ +# Collaborators: give specific users access to this repository. +# See https://docs.github.com/en/rest/reference/repos#add-a-repository-collaborator for available options +collaborators: + # Maintainers, should also be added to the .github/CODEOWNERS file as owners of this settings.yml file. + - username: jeremytanner + permission: maintain + # Approvers + - username: displague + permission: push + - username: mmlb + permission: push + # Reviewers + - username: jacobweinstock + permission: triage + + # Note: `permission` is only valid on organization-owned repositories. + # 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. + # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. + # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.