From 46662a5a5c25ab2d766e6eb5dedf939a9e941fe8 Mon Sep 17 00:00:00 2001 From: Nick Floyd <139819+nickfloyd@users.noreply.github.com> Date: Mon, 11 Sep 2023 13:15:33 -0500 Subject: [PATCH] Revert "Fix typo in org rulesets.repository_id" (#1885) --- github/resource_github_organization_ruleset.go | 2 +- website/docs/r/organization_ruleset.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/github/resource_github_organization_ruleset.go b/github/resource_github_organization_ruleset.go index 8483ed1bf7..0fb5702c8f 100644 --- a/github/resource_github_organization_ruleset.go +++ b/github/resource_github_organization_ruleset.go @@ -118,7 +118,7 @@ func resourceGithubOrganizationRuleset() *schema.Resource { ConflictsWith: []string{"conditions.0.repository_id"}, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "include": { + "inlcude": { Type: schema.TypeList, Required: true, Description: "Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.", diff --git a/website/docs/r/organization_ruleset.html.markdown b/website/docs/r/organization_ruleset.html.markdown index 0d63c79666..77295f6b91 100644 --- a/website/docs/r/organization_ruleset.html.markdown +++ b/website/docs/r/organization_ruleset.html.markdown @@ -203,7 +203,7 @@ One of `repository_id` and `repository_name` must be set for the rule to target * `exclude` - (Required) (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. -* `include` - (Required) (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. +* `inlcude` - (Required) (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories. ## Attributes Reference