diff --git a/github/actions_runner_groups.go b/github/actions_runner_groups.go index c85db137799..f83d03f1ff3 100644 --- a/github/actions_runner_groups.go +++ b/github/actions_runner_groups.go @@ -40,7 +40,7 @@ type CreateRunnerGroupRequest struct { Runners []int64 `json:"runners,omitempty"` // If set to True, public repos can use this runner group AllowsPublicRepositories *bool `json:"allows_public_repositories,omitempty"` - // If true, the runner group will be restricted to running only the workflows specified in the selected_workflows array + // If true, the runner group will be restricted to running only the workflows specified in the SelectedWorkflows slice. RestrictedToWorkflows *bool `json:"restricted_to_workflows,omitempty"` // List of workflows the runner group should be allowed to run. This setting will be ignored unless RestrictedToWorkflows is set to true. SelectedWorkflows []string `json:"selected_workflows,omitempty"`