Skip to content

Commit cc7d930

Browse files
committed
Updated description based in the GitHub API docs
1 parent 62e38ce commit cc7d930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github/resource_github_organization_ruleset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func resourceGithubOrganizationRuleset() *schema.Resource {
9494
Type: schema.TypeList,
9595
Optional: true,
9696
MaxItems: 1,
97-
Description: "Parameters for an organization ruleset condition. Push rulesets require exactly one of: repository_id, repository_name, or repository_property. Branch/tag rulesets require ref_name AND exactly one repository targeting option.",
97+
Description: "Parameters for an organization ruleset condition.The branch and tag rulesets conditions object should contain both repository_name and ref_name properties, or both repository_id and ref_name properties, or both repository_property and ref_name properties. The push rulesets conditions object does not require the ref_name property.",
9898
Elem: &schema.Resource{
9999
Schema: map[string]*schema.Schema{
100100
"ref_name": {

0 commit comments

Comments
 (0)