Skip to content

Commit 7a4edfc

Browse files
authored
Merge pull request #108 from yinxulai/v5
add changes field in to PullRequestPayload of GitHub.
2 parents bb49f71 + 260e9b3 commit 7a4edfc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

github/payload.go

+8
Original file line numberDiff line numberDiff line change
@@ -4006,6 +4006,14 @@ type PullRequestPayload struct {
40064006
Type string `json:"type"`
40074007
SiteAdmin bool `json:"site_admin"`
40084008
} `json:"sender"`
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"`
40094017
Assignee *Assignee `json:"assignee"`
40104018
RequestedReviewer *Assignee `json:"requested_reviewer"`
40114019
RequestedTeam struct {

0 commit comments

Comments
 (0)