diff --git a/github/repos_collaborators.go b/github/repos_collaborators.go index 15a4e77a2f1..d6c985359aa 100644 --- a/github/repos_collaborators.go +++ b/github/repos_collaborators.go @@ -99,6 +99,8 @@ type RepositoryPermissionLevel struct { Permission *string `json:"permission,omitempty"` User *User `json:"user,omitempty"` + + RoleName *string `json:"role_name,omitempty"` } // GetPermissionLevel retrieves the specific permission level a collaborator has for a given repository.