Skip to content

Commit 487c80d

Browse files
authored
Fix missing Include, Exclude fields in RulesetRefConditionParameters (#2810)
Fixes: #2809.
1 parent 56c2c3b commit 487c80d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github/repos_rules.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ type RulesetLinks struct {
3030

3131
// RulesetRefConditionParameters represents the conditions object for ref_names.
3232
type RulesetRefConditionParameters struct {
33-
Include []string `json:"include,omitempty"`
34-
Exclude []string `json:"exclude,omitempty"`
33+
Include []string `json:"include"`
34+
Exclude []string `json:"exclude"`
3535
}
3636

3737
// RulesetRepositoryConditionParameters represents the conditions object for repository_names.

0 commit comments

Comments
 (0)