Skip to content

Commit 5bbfd6b

Browse files
author
Kinga Sieminiak
committed
Add 'base' field to the GitHub PR payload's changes
1 parent cd70db9 commit 5bbfd6b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

github/payload.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4019,6 +4019,14 @@ type PullRequestPayload struct {
40194019
Body *struct {
40204020
From string `json:"from"`
40214021
} `json:"body"`
4022+
Base *struct {
4023+
Ref *struct {
4024+
From string `json:"from"`
4025+
} `json:"ref"`
4026+
Sha *struct {
4027+
From string `json:"from"`
4028+
} `json:"Sha"`
4029+
} `json:"base"`
40224030
} `json:"changes"`
40234031
Assignee *Assignee `json:"assignee"`
40244032
RequestedReviewer *Assignee `json:"requested_reviewer"`

0 commit comments

Comments
 (0)