Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add 'base' field to the GitHub PR payload's changes
  • Loading branch information
Kinga Sieminiak committed May 16, 2025
commit 5bbfd6b6e8af34946f238706ba9eaa74af2ad22e
8 changes: 8 additions & 0 deletions github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -4019,6 +4019,14 @@ type PullRequestPayload struct {
Body *struct {
From string `json:"from"`
} `json:"body"`
Base *struct {
Ref *struct {
From string `json:"from"`
} `json:"ref"`
Sha *struct {
From string `json:"from"`
} `json:"Sha"`
} `json:"base"`
} `json:"changes"`
Assignee *Assignee `json:"assignee"`
RequestedReviewer *Assignee `json:"requested_reviewer"`
Expand Down