Skip to content

Commit

Permalink
Merge pull request #108 from yinxulai/v5
Browse files Browse the repository at this point in the history
add changes field in to PullRequestPayload of GitHub.
  • Loading branch information
Toshik1978 authored May 2, 2020
2 parents bb49f71 + 260e9b3 commit 7a4edfc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -4006,6 +4006,14 @@ type PullRequestPayload struct {
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"sender"`
Changes *struct {
Title *struct {
From string `json:"from"`
} `json:"title"`
Body *struct {
From string `json:"from"`
} `json:"body"`
} `json:"changes"`
Assignee *Assignee `json:"assignee"`
RequestedReviewer *Assignee `json:"requested_reviewer"`
RequestedTeam struct {
Expand Down

0 comments on commit 7a4edfc

Please sign in to comment.