Skip to content

Commit

Permalink
link the hooks to the event type payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Oct 31, 2011
1 parent 7b663d7 commit 6f97dbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/v3/repos/hooks.md
Expand Up @@ -28,9 +28,13 @@ request is tracking).
non-Organization Repository.
* `public` - Any time a Repository changes from private to public.

The payloads for all of the hooks mirror [the payloads for the Event
types](/v3/events/types/), with the exception of [the original `push`
event](http://help.github.com/post-receive-hooks/).

For a Hook to go through, the Hook needs to be configured to trigger for
an event, and the Service has to listen to it. The Services are all
part of the open source [github-services](https://github.com/github/github-services) project.Most of the Services only listen for `push` events. However, the generic [Web Service](https://github.com/github/github-services/blob/master/services/web.rb) listens for all events. Other services like the [IRC Service](https://github.com/github/github-services/blob/master/services/irc.rb) may only listen for `push`, `issues`, and `pull_request` events.
part of the open source [github-services](https://github.com/github/github-services) project. Most of the Services only listen for `push` events. However, the generic [Web Service](https://github.com/github/github-services/blob/master/services/web.rb) listens for all events. Other services like the [IRC Service](https://github.com/github/github-services/blob/master/services/irc.rb) may only listen for `push`, `issues`, and `pull_request` events.

## List

Expand Down

0 comments on commit 6f97dbc

Please sign in to comment.