Skip to content

Commit

Permalink
testing workflow after changing actions to SHAs (#4)
Browse files Browse the repository at this point in the history
* testing workflow after changing actions to SHAs

* [bot] docs: tfplugindocs generate

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lornest and github-actions[bot] authored Oct 22, 2024
1 parent 3b57066 commit b1b6b26
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/resources/qualitygate.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ For example, if you are using a grade rating metric such as `new_reliability_rat

### Required

- `name` (String) The name of the Quality Gate to create. Maximum length 100
- `name` (String) The name of the Quality Gate to create. Maximum length 100.

### Optional

- `condition` (Block List) A list of conditions that the gate uses (see [below for nested schema](#nestedblock--condition))
- `copy_from` (String) Name of an existing Quality Gate to copy from
- `is_default` (Boolean) When set to true this Quality Gate is set as default
- `condition` (Block List) A list of conditions that the gate uses. (see [below for nested schema](#nestedblock--condition))
- `copy_from` (String) Name of an existing Quality Gate to copy from.
- `is_default` (Boolean) When set to true this Quality Gate is set as default.

### Read-Only

Expand Down
8 changes: 4 additions & 4 deletions sonarqube/resource_sonarqube_qualitygate.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,25 @@ func resourceSonarqubeQualityGate() *schema.Resource {
"name": {
Type: schema.TypeString,
Required: true,
Description: "The name of the Quality Gate to create. Maximum length 100",
Description: "The name of the Quality Gate to create. Maximum length 100.",
},
"copy_from": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ConflictsWith: []string{"condition"},
Description: "Name of an existing Quality Gate to copy from",
Description: "Name of an existing Quality Gate to copy from.",
},
"is_default": {
Type: schema.TypeBool,
Optional: true,
Description: "When set to true this Quality Gate is set as default",
Description: "When set to true this Quality Gate is set as default.",
Default: false,
},
"condition": {
Type: schema.TypeList,
Optional: true,
Description: "A list of conditions that the gate uses",
Description: "A list of conditions that the gate uses.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": {
Expand Down

0 comments on commit b1b6b26

Please sign in to comment.