Skip to content

Commit 65f5d60

Browse files
committed
Add requested_team to PullRequestPayload
1 parent 01a1302 commit 65f5d60

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

github/payload.go

+13-1
Original file line numberDiff line numberDiff line change
@@ -3255,7 +3255,19 @@ type PullRequestPayload struct {
32553255
} `json:"sender"`
32563256
Assignee *Assignee `json:"assignee"`
32573257
RequestedReviewer *Assignee `json:"requested_reviewer"`
3258-
Installation struct {
3258+
RequestedTeam struct {
3259+
Name string `json:"name"`
3260+
ID int64 `json:"id"`
3261+
Slug string `json:"slug"`
3262+
Description string `json:"description"`
3263+
Privacy string `json:"privacy"`
3264+
URL string `json:"url"`
3265+
HTMLURL string `json:"html_url"`
3266+
MembersURL string `json:"members_url"`
3267+
RepositoriesURL string `json:"repositories_url"`
3268+
Permission string `json:"permission"`
3269+
} `json:"requested_team"`
3270+
Installation struct {
32593271
ID int64 `json:"id"`
32603272
} `json:"installation"`
32613273
}

0 commit comments

Comments
 (0)