Skip to content

Commit 23e1c6e

Browse files
committed
Move URL to the end
1 parent 386f4bc commit 23e1c6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

github/repos.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,8 +1017,6 @@ type ProtectionRequest struct {
10171017

10181018
// RequiredStatusChecks represents the protection status of a individual branch.
10191019
type RequiredStatusChecks struct {
1020-
URL *string `json:"url,omitempty"`
1021-
ContextsURL *string `json:"contexts_url,omitempty"`
10221020
// Require branches to be up to date before merging. (Required.)
10231021
Strict bool `json:"strict"`
10241022
// The list of status checks to require in order to merge into this
@@ -1027,7 +1025,9 @@ type RequiredStatusChecks struct {
10271025
Contexts []string `json:"contexts,omitempty"`
10281026
// The list of status checks to require in order to merge into this
10291027
// branch.
1030-
Checks []*RequiredStatusCheck `json:"checks"`
1028+
Checks []*RequiredStatusCheck `json:"checks"`
1029+
ContextsURL *string `json:"contexts_url,omitempty"`
1030+
URL *string `json:"url,omitempty"`
10311031
}
10321032

10331033
// RequiredStatusChecksRequest represents a request to edit a protected branch's status checks.

0 commit comments

Comments
 (0)