Skip to content

Commit 63c97e6

Browse files
authored
feat: Support baseRole option for custom organization roles (#3284)
Fixes: #3283.
1 parent 46f1127 commit 63c97e6

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

github/github-accessors.go

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/orgs_custom_roles.go

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ type CreateOrUpdateOrgRoleOptions struct {
5454
Name *string `json:"name,omitempty"`
5555
Description *string `json:"description,omitempty"`
5656
Permissions []string `json:"permissions"`
57+
BaseRole *string `json:"base_role,omitempty"`
5758
}
5859

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

0 commit comments

Comments
 (0)