Skip to content

Commit

Permalink
Fix missing Include, Exclude fields in RulesetRefConditionParameters (#…
Browse files Browse the repository at this point in the history
…2810)

Fixes: #2809.
  • Loading branch information
danztran committed Jun 19, 2023
1 parent 56c2c3b commit 487c80d
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 @@ -30,8 +30,8 @@ type RulesetLinks struct {

// RulesetRefConditionParameters represents the conditions object for ref_names.
type RulesetRefConditionParameters struct {
Include []string `json:"include,omitempty"`
Exclude []string `json:"exclude,omitempty"`
Include []string `json:"include"`
Exclude []string `json:"exclude"`
}

// RulesetRepositoryConditionParameters represents the conditions object for repository_names.
Expand Down

0 comments on commit 487c80d

Please sign in to comment.