@@ -19,6 +19,8 @@ They're only created for various internal and repository hooks.
1919
2020## CommitCommentEvent
2121
22+ Triggered when a [ commit comment] ( /v3/repos/comments/#list-commit-comments-for-a-repository ) is created.
23+
2224Hook name: ` commit_comment `
2325
2426comment
@@ -45,7 +47,7 @@ description
4547
4648## DeleteEvent
4749
48- Represents a deleted branch or tag.
50+ Represents a [ deleted branch or tag] ( /v3/git/refs/#delete-a-reference ) .
4951
5052Hook name: ` delete `
5153
5759
5860## DownloadEvent
5961
62+ Triggered when a new [ download] ( /v3/repos/downloads/ ) is created.
63+
6064Hook name: ` download `
6165
66+ Events of this type are ** no longer created** , but it's possible that they exist in timelines of some users.
67+
6268download
6369: ** object** - The [ download] ( /v3/repos/downloads/ ) that was just
6470created.
6571
6672## FollowEvent
6773
74+ Triggered when a user [ follows another user] ( /v3/users/followers/#follow-a-user ) .
75+
6876Hook name: ` follow `
6977
7078target
7179: ** object** - The [ user] ( /v3/users ) that was just followed.
7280
7381## ForkEvent
7482
83+ Triggered when a user [ forks a repository] ( /v3/repos/forks/#create-a-fork ) .
84+
7585Hook name: ` fork `
7686
7787forkee
8191
8292Triggered when a patch is applied in the Fork Queue.
8393
94+ Events of this type are ** no longer created** , but it's possible that they exist in timelines of some users.
95+
8496Hook name: ` fork_apply `
8597
8698head
@@ -94,8 +106,12 @@ after
94106
95107## GistEvent
96108
109+ Triggered when a [ Gist] ( /v3/gists/ ) is created or updated.
110+
97111Hook name: ` gist `
98112
113+ Events of this type are ** no longer created** , but it's possible that they exist in timelines of some users.
114+
99115action
100116: ** string** - The action that was performed. Can be "create" or "update"
101117
104120
105121## GollumEvent
106122
123+ Triggered when a Wiki page is created or updated.
124+
107125Hook name: ` gollum `
108126
109127pages
@@ -116,7 +134,7 @@ pages[][title]
116134: ** string** - The current page title.
117135
118136pages[ ] [ action ]
119- : ** string** - The action that was performed on the page.
137+ : ** string** - The action that was performed on the page. Can be "created" or "edited".
120138
121139pages[ ] [ sha ]
122140: ** string** - The latest commit SHA of the page.
@@ -126,10 +144,12 @@ pages[][html_url]
126144
127145## IssueCommentEvent
128146
147+ Triggered when an [ issue comment] ( /v3/issues/comments/ ) is created.
148+
129149Hook name: ` issue_comment `
130150
131151action
132- : ** string** - The action that was performed on the comment.
152+ : ** string** - The action that was performed on the comment. Currently, can only be "created".
133153
134154issue
135155: ** object** - The [ issue] ( /v3/issues/ ) the comment belongs to.
@@ -139,6 +159,8 @@ comment
139159
140160## IssuesEvent
141161
162+ Triggered when an [ issue] ( /v3/issues ) is created, closed or reopened.
163+
142164Hook name: ` issues `
143165
144166action
@@ -150,27 +172,28 @@ issue
150172
151173## MemberEvent
152174
153- Triggered when a user is added as a collaborator to a repository.
175+ Triggered when a user is [ added as a collaborator] ( /v3/repos/collaborators/#add-collaborator ) to a repository.
154176
155177Hook name: ` member `
156178
157179member
158180: ** object** - The [ user] ( /v3/users/ ) that was added.
159181
160182action
161- : ** string** - The action that was performed: "added".
183+ : ** string** - The action that was performed. Currently, can only be "added".
162184
163185## PublicEvent
164186
165- This is triggered when a private repo is open sourced. Without a doubt: the
166- best GitHub event.
187+ Triggered when a private repository is [ open sourced] ( /v3/repos/#edit ) . Without a doubt: the best GitHub event.
167188
168189Hook name: ` public `
169190
170191(empty payload)
171192
172193## PullRequestEvent
173194
195+ Triggered when a [ pull request] ( /v3/pulls ) is created, closed, reopened or synchronized.
196+
174197Hook name: ` pull_request `
175198
176199action
@@ -185,13 +208,17 @@ pull\_request
185208
186209## PullRequestReviewCommentEvent
187210
211+ Triggered when a [ comment is created on a portion of the unified diff] ( /v3/pulls/comments ) of a pull request.
212+
188213Hook name: ` pull_request_review_comment `
189214
190215comment
191216: ** object** - The [ comment] ( /v3/pulls/comments ) itself.
192217
193218## PushEvent
194219
220+ Triggered when a repository branch is pushed to.
221+
195222Hook name: ` push `
196223
197224head
@@ -231,6 +258,8 @@ before.
231258
232259## ReleaseEvent
233260
261+ Triggered when a [ release] ( /v3/repos/releases/#get-a-single-release ) is published.
262+
234263Hook name: ` release `
235264
236265action
@@ -256,6 +285,10 @@ target_url
256285
257286## TeamAddEvent
258287
288+ Triggered when a [ user is added to a team] ( /v3/orgs/teams/#add-team-member ) or when a [ repository is added to a team] ( /v3/orgs/teams/#add-team-repo ) .
289+
290+ Note: this event is created in [ users' organization timelines] ( /v3/activity/events/#list-events-for-an-organization ) .
291+
259292Hook name: ` team_add `
260293
261294team
@@ -270,14 +303,13 @@ repo
270303
271304## WatchEvent
272305
273- The WatchEvent is related to starring a repository, not watching.
274- See [ this API blog post] ( http://developer.github.com/changes/2012-9-5-watcher-api/ )
275- for an explanation.
306+ The WatchEvent is related to [ starring a repository] ( /v3/activity/starring/#star-a-repository ) , not [ watching] ( /v3/activity/watching/ ) .
307+ See [ this API blog post] ( /changes/2012-9-5-watcher-api/ ) for an explanation.
276308
277- The event’s actor is the user who starred a repository, and the event’s repo is
278- the repository that was starred.
309+ The event’s actor is the [ user] ( /v3/users/ ) who starred a repository, and the
310+ event’s repo is the [ repository] ( /v3/repos/ ) that was starred.
279311
280312Hook name: ` watch `
281313
282314action
283- : ** string** - The action that was performed: "started".
315+ : ** string** - The action that was performed. Currently, can only be "started".
0 commit comments