diff --git a/github/repos.go b/github/repos.go index 499ed677866..45fd1888d59 100644 --- a/github/repos.go +++ b/github/repos.go @@ -905,7 +905,7 @@ type RequiredStatusChecks struct { Contexts []string `json:"contexts,omitempty"` // The list of status checks to require in order to merge into this // branch. - Checks []*RequiredStatusCheck `json:"checks,omitempty"` + Checks []*RequiredStatusCheck `json:"checks"` } // RequiredStatusChecksRequest represents a request to edit a protected branch's status checks.