File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -3544,16 +3544,6 @@ type PublicPayload struct {
35443544 } `json:"sender"`
35453545}
35463546
3547- // PullRequestChanges contains the information for GitHub's pull_request hook event
3548- type PullRequestChanges struct {
3549- Title * struct {
3550- From string `json:"from"`
3551- } `json:"title"`
3552- Body * struct {
3553- From string `json:"from"`
3554- } `json:"body"`
3555- }
3556-
35573547// PullRequestPayload contains the information for GitHub's pull_request hook event
35583548type PullRequestPayload struct {
35593549 Action string `json:"action"`
@@ -4016,9 +4006,16 @@ type PullRequestPayload struct {
40164006 Type string `json:"type"`
40174007 SiteAdmin bool `json:"site_admin"`
40184008 } `json:"sender"`
4019- Changes * PullRequestChanges `json:"changes"`
4020- Assignee * Assignee `json:"assignee"`
4021- RequestedReviewer * Assignee `json:"requested_reviewer"`
4009+ Changes * struct {
4010+ Title * struct {
4011+ From string `json:"from"`
4012+ } `json:"title"`
4013+ Body * struct {
4014+ From string `json:"from"`
4015+ } `json:"body"`
4016+ } `json:"changes"`
4017+ Assignee * Assignee `json:"assignee"`
4018+ RequestedReviewer * Assignee `json:"requested_reviewer"`
40224019 RequestedTeam struct {
40234020 Name string `json:"name"`
40244021 ID int64 `json:"id"`
You can’t perform that action at this time.
0 commit comments