File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1017,8 +1017,6 @@ type ProtectionRequest struct {
1017
1017
1018
1018
// RequiredStatusChecks represents the protection status of a individual branch.
1019
1019
type RequiredStatusChecks struct {
1020
- URL * string `json:"url,omitempty"`
1021
- ContextsURL * string `json:"contexts_url,omitempty"`
1022
1020
// Require branches to be up to date before merging. (Required.)
1023
1021
Strict bool `json:"strict"`
1024
1022
// The list of status checks to require in order to merge into this
@@ -1027,7 +1025,9 @@ type RequiredStatusChecks struct {
1027
1025
Contexts []string `json:"contexts,omitempty"`
1028
1026
// The list of status checks to require in order to merge into this
1029
1027
// branch.
1030
- Checks []* RequiredStatusCheck `json:"checks"`
1028
+ Checks []* RequiredStatusCheck `json:"checks"`
1029
+ ContextsURL * string `json:"contexts_url,omitempty"`
1030
+ URL * string `json:"url,omitempty"`
1031
1031
}
1032
1032
1033
1033
// RequiredStatusChecksRequest represents a request to edit a protected branch's status checks.
You can’t perform that action at this time.
0 commit comments