Skip to content

Commit 1f3d44e

Browse files
committed
add WorkflowRestrictionsReadOnly
1 parent d184448 commit 1f3d44e

File tree

3 files changed

+29
-10
lines changed

3 files changed

+29
-10
lines changed

github/actions_runner_groups.go

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ import (
1212

1313
// RunnerGroup represents a self-hosted runner group configured in an organization.
1414
type RunnerGroup struct {
15-
ID *int64 `json:"id,omitempty"`
16-
Name *string `json:"name,omitempty"`
17-
Visibility *string `json:"visibility,omitempty"`
18-
Default *bool `json:"default,omitempty"`
19-
SelectedRepositoriesURL *string `json:"selected_repositories_url,omitempty"`
20-
RunnersURL *string `json:"runners_url,omitempty"`
21-
Inherited *bool `json:"inherited,omitempty"`
22-
AllowsPublicRepositories *bool `json:"allows_public_repositories,omitempty"`
23-
RestrictedToWorkflows *bool `json:"restricted_to_workflows,omitempty"`
24-
SelectedWorkflows []string `json:"selected_workflows,omitempty"`
15+
ID *int64 `json:"id,omitempty"`
16+
Name *string `json:"name,omitempty"`
17+
Visibility *string `json:"visibility,omitempty"`
18+
Default *bool `json:"default,omitempty"`
19+
SelectedRepositoriesURL *string `json:"selected_repositories_url,omitempty"`
20+
RunnersURL *string `json:"runners_url,omitempty"`
21+
Inherited *bool `json:"inherited,omitempty"`
22+
AllowsPublicRepositories *bool `json:"allows_public_repositories,omitempty"`
23+
RestrictedToWorkflows *bool `json:"restricted_to_workflows,omitempty"`
24+
SelectedWorkflows []string `json:"selected_workflows,omitempty"`
25+
WorkflowRestrictionsReadOnly *bool `json:"workflow_restrictions_read_only,omitempty"`
2526
}
2627

2728
// RunnerGroups represents a collection of self-hosted runner groups configured for an organization.

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)