@@ -1078,96 +1078,8 @@ type MemberPayload struct {
10781078 Type string `json:"type"`
10791079 SiteAdmin bool `json:"site_admin"`
10801080 } `json:"member"`
1081- Repository struct {
1082- ID int64 `json:"id"`
1083- NodeID string `json:"node_id"`
1084- Name string `json:"name"`
1085- FullName string `json:"full_name"`
1086- Owner struct {
1087- Login string `json:"login"`
1088- ID int64 `json:"id"`
1089- NodeID string `json:"node_id"`
1090- AvatarURL string `json:"avatar_url"`
1091- GravatarID string `json:"gravatar_id"`
1092- URL string `json:"url"`
1093- HTMLURL string `json:"html_url"`
1094- FollowersURL string `json:"followers_url"`
1095- FollowingURL string `json:"following_url"`
1096- GistsURL string `json:"gists_url"`
1097- StarredURL string `json:"starred_url"`
1098- SubscriptionsURL string `json:"subscriptions_url"`
1099- OrganizationsURL string `json:"organizations_url"`
1100- ReposURL string `json:"repos_url"`
1101- EventsURL string `json:"events_url"`
1102- ReceivedEventsURL string `json:"received_events_url"`
1103- Type string `json:"type"`
1104- SiteAdmin bool `json:"site_admin"`
1105- } `json:"owner"`
1106- Private bool `json:"private"`
1107- HTMLURL string `json:"html_url"`
1108- Description string `json:"description"`
1109- Fork bool `json:"fork"`
1110- URL string `json:"url"`
1111- ForksURL string `json:"forks_url"`
1112- KeysURL string `json:"keys_url"`
1113- CollaboratorsURL string `json:"collaborators_url"`
1114- TeamsURL string `json:"teams_url"`
1115- HooksURL string `json:"hooks_url"`
1116- IssueEventsURL string `json:"issue_events_url"`
1117- EventsURL string `json:"events_url"`
1118- AssigneesURL string `json:"assignees_url"`
1119- BranchesURL string `json:"branches_url"`
1120- TagsURL string `json:"tags_url"`
1121- BlobsURL string `json:"blobs_url"`
1122- GitTagsURL string `json:"git_tags_url"`
1123- GitRefsURL string `json:"git_refs_url"`
1124- TreesURL string `json:"trees_url"`
1125- StatusesURL string `json:"statuses_url"`
1126- LanguagesURL string `json:"languages_url"`
1127- StargazersURL string `json:"stargazers_url"`
1128- ContributorsURL string `json:"contributors_url"`
1129- SubscribersURL string `json:"subscribers_url"`
1130- SubscriptionURL string `json:"subscription_url"`
1131- CommitsURL string `json:"commits_url"`
1132- GitCommitsURL string `json:"git_commits_url"`
1133- CommentsURL string `json:"comments_url"`
1134- IssueCommentURL string `json:"issue_comment_url"`
1135- ContentsURL string `json:"contents_url"`
1136- CompareURL string `json:"compare_url"`
1137- MergesURL string `json:"merges_url"`
1138- ArchiveURL string `json:"archive_url"`
1139- DownloadsURL string `json:"downloads_url"`
1140- IssuesURL string `json:"issues_url"`
1141- PullsURL string `json:"pulls_url"`
1142- MilestonesURL string `json:"milestones_url"`
1143- NotificationsURL string `json:"notifications_url"`
1144- LabelsURL string `json:"labels_url"`
1145- ReleasesURL string `json:"releases_url"`
1146- CreatedAt time.Time `json:"created_at"`
1147- UpdatedAt time.Time `json:"updated_at"`
1148- PushedAt time.Time `json:"pushed_at"`
1149- GitURL string `json:"git_url"`
1150- SSHURL string `json:"ssh_url"`
1151- CloneURL string `json:"clone_url"`
1152- SvnURL string `json:"svn_url"`
1153- Homepage * string `json:"homepage"`
1154- Size int64 `json:"size"`
1155- StargazersCount int64 `json:"stargazers_count"`
1156- WatchersCount int64 `json:"watchers_count"`
1157- Language * string `json:"language"`
1158- HasIssues bool `json:"has_issues"`
1159- HasDownloads bool `json:"has_downloads"`
1160- HasWiki bool `json:"has_wiki"`
1161- HasPages bool `json:"has_pages"`
1162- ForksCount int64 `json:"forks_count"`
1163- MirrorURL * string `json:"mirror_url"`
1164- OpenIssuesCount int64 `json:"open_issues_count"`
1165- Forks int64 `json:"forks"`
1166- OpenIssues int64 `json:"open_issues"`
1167- Watchers int64 `json:"watchers"`
1168- DefaultBranch string `json:"default_branch"`
1169- } `json:"repository"`
1170- Sender struct {
1081+ Repository Repository `json:"repository"`
1082+ Sender struct {
11711083 Login string `json:"login"`
11721084 ID int64 `json:"id"`
11731085 NodeID string `json:"node_id"`
@@ -1187,6 +1099,7 @@ type MemberPayload struct {
11871099 Type string `json:"type"`
11881100 SiteAdmin bool `json:"site_admin"`
11891101 } `json:"sender"`
1102+ Installation Installation `json:"installation"`
11901103}
11911104
11921105// MembershipPayload contains the information for GitHub's membership hook event
@@ -1238,22 +1151,29 @@ type MembershipPayload struct {
12381151 ID int64 `json:"id"`
12391152 NodeID string `json:"node_id"`
12401153 Slug string `json:"slug"`
1154+ Description string `json:"description"`
12411155 Permission string `json:"permission"`
1156+ Privacy string `json:"privacy"`
12421157 URL string `json:"url"`
12431158 MembersURL string `json:"members_url"`
12441159 RepositoriesURL string `json:"repositories_url"`
1160+ HtmlURL string `json:"html_url"`
12451161 } `json:"team"`
12461162 Organization struct {
12471163 Login string `json:"login"`
12481164 ID int64 `json:"id"`
12491165 NodeID string `json:"node_id"`
1166+ Description string `json:"description"`
12501167 URL string `json:"url"`
12511168 ReposURL string `json:"repos_url"`
12521169 EventsURL string `json:"events_url"`
12531170 MembersURL string `json:"members_url"`
12541171 PublicMembersURL string `json:"public_members_url"`
12551172 AvatarURL string `json:"avatar_url"`
1173+ HooksURL string `json:"hooks_url"`
1174+ IssuesURL string `json:"issues_url"`
12561175 } `json:"organization"`
1176+ Installation Installation `json:"installation"`
12571177}
12581178
12591179// MetaPayload contains the information for GitHub's meta hook event
0 commit comments