Skip to content

Commit

Permalink
Add role name to Repo permissions level struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitsultania committed Jun 11, 2024
1 parent 0e99a54 commit 1370675
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github/repos_collaborators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1370675

Please sign in to comment.