Skip to content

Commit ab2839d

Browse files
anelamkfcampbell
andauthored
feat: add ruleset target push (#2351)
Refs: #2235 Co-authored-by: Keegan Campbell <[email protected]>
1 parent 0f84a2a commit ab2839d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github/resource_github_organization_ruleset.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ func resourceGithubOrganizationRuleset() *schema.Resource {
3434
"target": {
3535
Type: schema.TypeString,
3636
Required: true,
37-
ValidateFunc: validation.StringInSlice([]string{"branch", "tag"}, false),
38-
Description: "Possible values are `branch` and `tag`.",
37+
ValidateFunc: validation.StringInSlice([]string{"branch", "tag", "push"}, false),
38+
Description: "Possible values are `branch`, `tag` and `push`. Note: The `push` target is in beta and is subject to change.",
3939
},
4040
"enforcement": {
4141
Type: schema.TypeString,

0 commit comments

Comments
 (0)