From 04adbff383572e216bb213854162756ae6e8d7f6 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Fri, 20 Sep 2024 08:38:14 -0400 Subject: [PATCH] Update comment for Ruleset Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- github/repos_rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/repos_rules.go b/github/repos_rules.go index a90555cc44..50e75cdba1 100644 --- a/github/repos_rules.go +++ b/github/repos_rules.go @@ -458,7 +458,7 @@ func NewFilePathRestrictionRule(params *RuleFileParameters) (rule *RepositoryRul type Ruleset struct { ID *int64 `json:"id,omitempty"` Name string `json:"name"` - // Possible values for Target are branch, tag + // Possible values for Target are branch, tag, push Target *string `json:"target,omitempty"` // Possible values for SourceType are: Repository, Organization SourceType *string `json:"source_type,omitempty"`