From 120876189f7afc6c49c5895653fc439f0b662cf6 Mon Sep 17 00:00:00 2001 From: danztran Date: Mon, 19 Jun 2023 17:44:13 +0700 Subject: [PATCH] No omit Include, Exclude fields in RulesetRefConditionParameters --- github/repos_rules.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/repos_rules.go b/github/repos_rules.go index 64e7c9ca6df..9299d3e7f3d 100644 --- a/github/repos_rules.go +++ b/github/repos_rules.go @@ -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.