File tree 1 file changed +10
-13
lines changed
1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -3544,16 +3544,6 @@ type PublicPayload struct {
3544
3544
} `json:"sender"`
3545
3545
}
3546
3546
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
-
3557
3547
// PullRequestPayload contains the information for GitHub's pull_request hook event
3558
3548
type PullRequestPayload struct {
3559
3549
Action string `json:"action"`
@@ -4016,9 +4006,16 @@ type PullRequestPayload struct {
4016
4006
Type string `json:"type"`
4017
4007
SiteAdmin bool `json:"site_admin"`
4018
4008
} `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"`
4022
4019
RequestedTeam struct {
4023
4020
Name string `json:"name"`
4024
4021
ID int64 `json:"id"`
You can’t perform that action at this time.
0 commit comments