From 4c0a9807a103b039ae23e95dedc3bbea6da51226 Mon Sep 17 00:00:00 2001 From: Malena Ebert <24671181+anelam@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:26:56 +0200 Subject: [PATCH] feat: add ruleset target `push` Refs: #2235 --- github/resource_github_organization_ruleset.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/resource_github_organization_ruleset.go b/github/resource_github_organization_ruleset.go index 2b230d893..c1324df1e 100644 --- a/github/resource_github_organization_ruleset.go +++ b/github/resource_github_organization_ruleset.go @@ -34,8 +34,8 @@ func resourceGithubOrganizationRuleset() *schema.Resource { "target": { Type: schema.TypeString, Required: true, - ValidateFunc: validation.StringInSlice([]string{"branch", "tag"}, false), - Description: "Possible values are `branch` and `tag`.", + ValidateFunc: validation.StringInSlice([]string{"branch", "tag", "push"}, false), + Description: "Possible values are `branch`, `tag` and `push`. Note: The `push` target is in beta and is subject to change.", }, "enforcement": { Type: schema.TypeString,