Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 1b3ba0a

Browse files
committed
Merge pull request #453 from github/alphabetize-events
Alphabetize events
2 parents 36dd25d + ad39c12 commit 1b3ba0a

File tree

2 files changed

+30
-29
lines changed

2 files changed

+30
-29
lines changed

content/v3/activity/events/types.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,23 @@ Key | Type | Description
264264
`action`|`string` | The action that was performed. Currently, can only be "added".
265265

266266

267+
## PageBuildEvent
268+
269+
Represents an attempted build of a GitHub Pages site, whether successful or not.
270+
271+
Triggered on push to a GitHub Pages enabled branch (`gh-pages` for project pages, `master` for user and organization pages).
272+
273+
### Hook Name
274+
275+
`page_build`
276+
277+
### Payload
278+
279+
Key | Type | Description
280+
----|------|------------
281+
`build` | `object` | The [page build](http://developer.github.com/v3/repos/pages/#list-pages-builds) itself.
282+
283+
267284
## PublicEvent
268285

269286
Triggered when a private repository is [open sourced](/v3/repos/#edit). Without a doubt: the best GitHub event.
@@ -405,19 +422,3 @@ event’s repository is the [repository](/v3/repos/) that was starred.
405422
Key | Type | Description
406423
----|------|-------------
407424
`action`|`string` | The action that was performed. Currently, can only be `started`.
408-
409-
## PageBuildEvent
410-
411-
Represents an attempted build of a GitHub Pages site, whether successful or not.
412-
413-
Triggered on push to a GitHub Pages enabled branch (`gh-pages` for project pages, `master` for user and organization pages).
414-
415-
### Hook Name
416-
417-
`page_build`
418-
419-
### Payload
420-
421-
Key | Type | Description
422-
----|------|------------
423-
`build` | `object` | The [page build](http://developer.github.com/v3/repos/pages/#list-pages-builds) itself.

content/webhooks/index.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,26 +59,26 @@ The available events are:
5959

6060
Name | Description
6161
-----|-----------|
62-
`push` | Any git push to a Repository. **This is the default event.**
63-
`issues` | Any time an Issue is opened or closed.
64-
`issue_comment` | Any time an Issue is commented on.
62+
`*` | Any time any event is triggered ([Wildcard Event](#wildcard-event)).
6563
`commit_comment` | Any time a Commit is commented on.
6664
`create` | Any time a Repository, Branch, or Tag is created.
6765
`delete` | Any time a Branch or Tag is deleted.
68-
`pull_request` | Any time a Pull Request is opened, closed, or synchronized (updated due to a new push in the branch that the pull request is tracking).
69-
`pull_request_review_comment` | Any time a Commit is commented on while inside a Pull Request review (the Files Changed tab).
70-
`gollum` | Any time a Wiki page is updated.
71-
`watch` | Any time a User watches the Repository.
72-
`release` | Any time a Release is published in the Repository.
66+
`deployment_status` | Any time a deployment for the Repository has a status update from the API.
67+
`deployment` | Any time a Repository has a new deployment created from the API.
7368
`fork` | Any time a Repository is forked.
69+
`gollum` | Any time a Wiki page is updated.
70+
`issue_comment` | Any time an Issue is commented on.
71+
`issues` | Any time an Issue is opened or closed.
7472
`member` | Any time a User is added as a collaborator to a non-Organization Repository.
73+
`page_build` | Any time a Pages site is built or results in a failed build.
7574
`public` | Any time a Repository changes from private to public.
76-
`team_add` | Any time a team is added or modified on a Repository.
75+
`pull_request_review_comment` | Any time a Commit is commented on while inside a Pull Request review (the Files Changed tab).
76+
`pull_request` | Any time a Pull Request is opened, closed, or synchronized (updated due to a new push in the branch that the pull request is tracking).
77+
`push` | Any git push to a Repository. **This is the default event.**
78+
`release` | Any time a Release is published in the Repository.
7779
`status` | Any time a Repository has a status update from the API
78-
`deployment` | Any time a Repository has a new deployment created from the API.
79-
`deployment_status` | Any time a deployment for the Repository has a status update from the API.
80-
`page_build` | Any time a Pages site is built or results in a failed build.
81-
`*` | Any time any event is triggered ([Wildcard Event](#wildcard-event)).
80+
`team_add` | Any time a team is added or modified on a Repository.
81+
`watch` | Any time a User watches the Repository.
8282

8383
### Payloads
8484

0 commit comments

Comments
 (0)