We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22d5549 commit c72b620Copy full SHA for c72b620
github/resource_github_repository_ruleset.go
@@ -481,6 +481,7 @@ func resourceGithubRepositoryRuleset() *schema.Resource {
481
"file_extension_restriction": {
482
Type: schema.TypeList,
483
Optional: true,
484
+ MaxItems: 1,
485
Description: "Prevent pushes based on file extensions.",
486
Elem: &schema.Resource{
487
Schema: map[string]*schema.Schema{
@@ -489,6 +490,9 @@ func resourceGithubRepositoryRuleset() *schema.Resource {
489
490
MinItems: 1,
491
Required: true,
492
Description: "A list of file extensions.",
493
+ Elem: &schema.Schema{
494
+ Type: schema.TypeString,
495
+ },
496
},
497
498
0 commit comments