Skip to content

Commit

Permalink
Merge pull request microsoft#962 from phynot/add-githubenterprise-che…
Browse files Browse the repository at this point in the history
…ck-required-template

`azuredevops_check_required_template` support githubenterprise repository type
  • Loading branch information
xuzhang3 authored Feb 4, 2024
2 parents 2b87055 + b711a5e commit 9f8362b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/microsoft/terraform-provider-azuredevops/azuredevops/utils/pipelineschecksextras"
)

var validRepositoryTypes = []string{"azuregit", "github", "bitbucket"}
var validRepositoryTypes = []string{"azuregit", "github", "githubenterprise", "bitbucket"}

// ResourceCheckRequiredTemplate schema and implementation for required template check resources
func ResourceCheckRequiredTemplate() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/check_required_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The following arguments are supported:

A `required_template` block supports the following:

- `repository_type` - (Optional) The type of the repository storing the template. Valid values: `azuregit`, `github`, `bitbucket`. Defaults to `azuregit`.
- `repository_type` - (Optional) The type of the repository storing the template. Valid values: `azuregit`, `github`, `githubenterprise`, `bitbucket`. Defaults to `azuregit`.
- `repository_name` - (Required) The name of the repository storing the template.
- `repository_ref` - (Required) The branch in which the template will be referenced.
- `template_path` - (Required) The path to the template yaml.
Expand Down

0 comments on commit 9f8362b

Please sign in to comment.