From 94fcf5b302df830ec9f3158638a845194cfc2a6f Mon Sep 17 00:00:00 2001 From: samvdd-247 <79514502+samvdd-247@users.noreply.github.com> Date: Fri, 18 Mar 2022 13:57:40 +0100 Subject: [PATCH] Update permissions based on GitHub documentation Added the following permissions maintain and triage based on the GitHub documentation https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions --- Octokit/Models/Request/Permission.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Octokit/Models/Request/Permission.cs b/Octokit/Models/Request/Permission.cs index 0f5ea6c8aa..8e5eca5c3f 100644 --- a/Octokit/Models/Request/Permission.cs +++ b/Octokit/Models/Request/Permission.cs @@ -14,7 +14,19 @@ public enum Permission /// [Parameter(Value = "admin")] Admin, - + + /// + /// team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. + /// + [Parameter(Value = "maintain")] + Maintain, + + /// + /// team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations. + /// + [Parameter(Value = "triage")] + Triage, + /// /// team members can pull and push, but not administer these repositories /// @@ -27,4 +39,4 @@ public enum Permission [Parameter(Value = "pull")] Pull } -} \ No newline at end of file +}