Skip to content

Commit

Permalink
* update resourceGithubActionsRunnerGroup schema
Browse files Browse the repository at this point in the history
* update  documentation with new params
  • Loading branch information
bob-bins committed Jan 7, 2023
1 parent c86eb45 commit 8c7edb6
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions github/resource_github_actions_runner_group.go
Original file line number Diff line number Diff line change
@@ -64,6 +64,15 @@ func resourceGithubActionsRunnerGroup() *schema.Resource {
Required: true,
ValidateFunc: validation.StringInSlice([]string{"all", "selected", "private"}, false),
},
"restricted_to_workflows": {
Type: schema.TypeBool,
Computed: true,
},
"selected_workflows": {
Type: schema.TypeList,
Elem: &schema.Schema{Type: schema.TypeString},
Computed: true,
},
},
}
}
2 changes: 2 additions & 0 deletions website/docs/r/actions_runner_group.html.markdown
Original file line number Diff line number Diff line change
@@ -42,6 +42,8 @@ The following arguments are supported:
* `selected_repository_ids` - List of repository IDs that can access the runner group
* `selected_repositories_url` - Github API URL for the runner group's repositories
* `visibility` - The visibility of the runner group
* `restricted_to_workflows` - If true, the runner group will be restricted to running only the workflows specified in the selected_workflows array
* `selected_workflows` - List of workflows the runner group should be allowed to run. This setting will be ignored unless restricted_to_workflows is set to true.

## Import

0 comments on commit 8c7edb6

Please sign in to comment.