@@ -216,17 +216,39 @@ type CheckRunPayload struct {
216216type CheckSuitePayload struct {
217217 Action string `json:"action"`
218218 CheckSuite struct {
219- ID int64 `json:"id"`
220- NodeID string `json:"node_id"`
221- HeadBranch string `json:"head_branch"`
222- HeadSHA string `json:"head_sha"`
223- Status string `json:"status"`
224- Conclusion string `json:"conclusion"`
225- URL string `json:"url"`
226- Before string `json:"before"`
227- After string `json:"after"`
228- PullRequests []PullRequestPayload `json:"pull_requests"`
229- App struct {
219+ ID int64 `json:"id"`
220+ NodeID string `json:"node_id"`
221+ HeadBranch string `json:"head_branch"`
222+ HeadSHA string `json:"head_sha"`
223+ Status string `json:"status"`
224+ Conclusion string `json:"conclusion"`
225+ URL string `json:"url"`
226+ Before string `json:"before"`
227+ After string `json:"after"`
228+ PullRequests []struct {
229+ URL string `json:"url"`
230+ ID int64 `json:"id"`
231+ Number int64 `json:"number"`
232+ Head struct {
233+ Ref string `json:"ref"`
234+ SHA string `json:"sha"`
235+ Repo struct {
236+ ID int64 `json:"id"`
237+ URL string `json:"url"`
238+ Name string `json:"name"`
239+ } `json:"repo"`
240+ } `json:"head"`
241+ Base struct {
242+ Ref string `json:"ref"`
243+ SHA string `json:"sha"`
244+ Repo struct {
245+ ID int64 `json:"id"`
246+ URL string `json:"url"`
247+ Name string `json:"name"`
248+ } `json:"repo"`
249+ } `json:"base"`
250+ } `json:"pull_requests"`
251+ App struct {
230252 ID int64 `json:"id"`
231253 NodeID string `json:"node_id"`
232254 Owner struct {
0 commit comments