@@ -59,32 +59,20 @@ type PullRequest struct {
59
59
RequestedReviewers []* User `json:"requested_reviewers,omitempty"`
60
60
AutoMerge * PullRequestAutoMerge `json:"auto_merge,omitempty"`
61
61
62
- // Merged is not populated by List operation.
63
- Merged * bool `json:"merged,omitempty"`
64
- // Mergeable is not populated by List operation.
65
- Mergeable * bool `json:"mergeable,omitempty"`
66
- // MergeableState is not populated by List operation.
67
- MergeableState * string `json:"mergeable_state,omitempty"`
68
- // Rebaseable is not populated by List operation.
69
- Rebaseable * bool `json:"rebaseable,omitempty"`
70
- // MergedBy is not populated by List operation.
71
- MergedBy * User `json:"merged_by,omitempty"`
72
- // MergeCommitSHA is not populated by List operation.
73
- MergeCommitSHA * string `json:"merge_commit_sha,omitempty"`
74
- // Comments is not populated by List operation.
75
- Comments * int `json:"comments,omitempty"`
76
- // Commits is not populated by List operation.
77
- Commits * int `json:"commits,omitempty"`
78
- // Additions are not populated by List operation.
79
- Additions * int `json:"additions,omitempty"`
80
- // Deletions are not populated by List operation.
81
- Deletions * int `json:"deletions,omitempty"`
82
- // ChangedFiles is not populated by List operation.
83
- ChangedFiles * int `json:"changed_files,omitempty"`
84
- // MaintainerCanModify is not populated by List operation.
85
- MaintainerCanModify * bool `json:"maintainer_can_modify,omitempty"`
86
- // ReviewComments is not populated by List operation.
87
- ReviewComments * int `json:"review_comments,omitempty"`
62
+ // These fields are not populated by the List operation.
63
+ Merged * bool `json:"merged,omitempty"`
64
+ Mergeable * bool `json:"mergeable,omitempty"`
65
+ MergeableState * string `json:"mergeable_state,omitempty"`
66
+ Rebaseable * bool `json:"rebaseable,omitempty"`
67
+ MergedBy * User `json:"merged_by,omitempty"`
68
+ MergeCommitSHA * string `json:"merge_commit_sha,omitempty"`
69
+ Comments * int `json:"comments,omitempty"`
70
+ Commits * int `json:"commits,omitempty"`
71
+ Additions * int `json:"additions,omitempty"`
72
+ Deletions * int `json:"deletions,omitempty"`
73
+ ChangedFiles * int `json:"changed_files,omitempty"`
74
+ MaintainerCanModify * bool `json:"maintainer_can_modify,omitempty"`
75
+ ReviewComments * int `json:"review_comments,omitempty"`
88
76
89
77
// RequestedTeams is populated as part of the PullRequestEvent.
90
78
// See, https://docs.github.com/developers/webhooks-and-events/github-event-types#pullrequestevent for an example.
0 commit comments