Skip to content

Commit 01a1302

Browse files
committed
Add requested_reviewer to GitHub pull request
1 parent a1051fd commit 01a1302

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

github/payload.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -3253,8 +3253,9 @@ type PullRequestPayload struct {
32533253
Type string `json:"type"`
32543254
SiteAdmin bool `json:"site_admin"`
32553255
} `json:"sender"`
3256-
Assignee *Assignee `json:"assignee"`
3257-
Installation struct {
3256+
Assignee *Assignee `json:"assignee"`
3257+
RequestedReviewer *Assignee `json:"requested_reviewer"`
3258+
Installation struct {
32583259
ID int64 `json:"id"`
32593260
} `json:"installation"`
32603261
}
@@ -3749,7 +3750,7 @@ type PullRequestReviewCommentPayload struct {
37493750
Href string `json:"href"`
37503751
} `json:"pull_request"`
37513752
} `json:"_links"`
3752-
InReplyToID int64 `json:"in_reply_to_id"`
3753+
InReplyToID int64 `json:"in_reply_to_id"`
37533754
} `json:"comment"`
37543755
PullRequest struct {
37553756
URL string `json:"url"`

0 commit comments

Comments
 (0)