File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3544,6 +3544,15 @@ type PublicPayload struct {
35443544 } `json:"sender"`
35453545}
35463546
3547+ type PullRequestChanges struct {
3548+ Title * struct {
3549+ From string `json:"from"`
3550+ } `json:"title"`
3551+ Body * struct {
3552+ From string `json:"from"`
3553+ } `json:"body"`
3554+ }
3555+
35473556// PullRequestPayload contains the information for GitHub's pull_request hook event
35483557type PullRequestPayload struct {
35493558 Action string `json:"action"`
@@ -4006,8 +4015,9 @@ type PullRequestPayload struct {
40064015 Type string `json:"type"`
40074016 SiteAdmin bool `json:"site_admin"`
40084017 } `json:"sender"`
4009- Assignee * Assignee `json:"assignee"`
4010- RequestedReviewer * Assignee `json:"requested_reviewer"`
4018+ Changes * PullRequestChanges `json:"changes"`
4019+ Assignee * Assignee `json:"assignee"`
4020+ RequestedReviewer * Assignee `json:"requested_reviewer"`
40114021 RequestedTeam struct {
40124022 Name string `json:"name"`
40134023 ID int64 `json:"id"`
You can’t perform that action at this time.
0 commit comments