From 506bc9046a4f7b054a8f9960900c4cbdf05e30a3 Mon Sep 17 00:00:00 2001 From: Jacob Weinstock Date: Fri, 29 Apr 2022 11:27:29 -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 | 20 ++++++++++++++++++++ 2 files changed, 22 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..178ad6a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +/.github/settings.yml @mmlb +/.github/CODEOWNERS @mmlb diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..e75a639 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,20 @@ +# 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: mmlb + permission: maintain + # Approvers + - username: tstromberg + permission: push + # Reviewers + - username: rawkode + 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.