Skip to content

Commit

Permalink
Fix serialization of repository_names conditions object (google#2910)
Browse files Browse the repository at this point in the history
Fixes: google#2909.
  • Loading branch information
ysoldak authored and gmlewis committed Sep 18, 2023
1 parent e47dbf0 commit 9514f39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/repos_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ type RulesetRefConditionParameters struct {

// RulesetRepositoryNamesConditionParameters represents the conditions object for repository_names.
type RulesetRepositoryNamesConditionParameters struct {
Include []string `json:"include,omitempty"`
Exclude []string `json:"exclude,omitempty"`
Include []string `json:"include"`
Exclude []string `json:"exclude"`
Protected *bool `json:"protected,omitempty"`
}

Expand Down

0 comments on commit 9514f39

Please sign in to comment.