Skip to content

Commit f053ac6

Browse files
author
Dean Karn
authored
Merge pull request #67 from hatstand/add-requested-teams
Add requested_team to PullRequestPayload
2 parents 295aa65 + 65f5d60 commit f053ac6

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
@@ -3728,7 +3728,19 @@ type PullRequestPayload struct {
37283728
} `json:"sender"`
37293729
Assignee *Assignee `json:"assignee"`
37303730
RequestedReviewer *Assignee `json:"requested_reviewer"`
3731-
Installation struct {
3731+
RequestedTeam struct {
3732+
Name string `json:"name"`
3733+
ID int64 `json:"id"`
3734+
Slug string `json:"slug"`
3735+
Description string `json:"description"`
3736+
Privacy string `json:"privacy"`
3737+
URL string `json:"url"`
3738+
HTMLURL string `json:"html_url"`
3739+
MembersURL string `json:"members_url"`
3740+
RepositoriesURL string `json:"repositories_url"`
3741+
Permission string `json:"permission"`
3742+
} `json:"requested_team"`
3743+
Installation struct {
37323744
ID int64 `json:"id"`
37333745
} `json:"installation"`
37343746
}

0 commit comments

Comments
 (0)