Skip to content

Commit

Permalink
feat: Support baseRole option for custom organization roles (#3284)
Browse files Browse the repository at this point in the history
Fixes: #3283.
  • Loading branch information
felixlut authored Sep 22, 2024
1 parent 46f1127 commit 63c97e6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions github/github-accessors_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions github/orgs_custom_roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type CreateOrUpdateOrgRoleOptions struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Permissions []string `json:"permissions"`
BaseRole *string `json:"base_role,omitempty"`
}

// CreateOrUpdateCustomRepoRoleOptions represents options required to create or update a custom repository role.
Expand Down

0 comments on commit 63c97e6

Please sign in to comment.