You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of external services have already been integrated through the open source
43
-
[github-services](https://github.com/github/github-services) project, including the generic
44
-
[Web Service](https://github.com/github/github-services/blob/master/services/web.rb) service which can be used to
45
-
define your own custom hooks. All possible names for hooks, the events they support, and their configuration can be seen at [/hooks](https://api.github.com/hooks).
42
+
A number of external services have already been integrated through the open source
43
+
[github-services](https://github.com/github/github-services) project, including the generic
44
+
[Web Service](https://github.com/github/github-services/blob/master/services/web.rb) service which can be used to
45
+
define your own custom hooks. All possible names for hooks, the events they support, and their configuration can be seen at [/hooks](https://api.github.com/hooks).
46
46
47
47
For a Hook to go through, the Hook needs to be configured to trigger for
48
48
an event, and the Service has to listen to it. 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.
@@ -106,7 +106,7 @@ legacy format):
106
106
:active => true,
107
107
:events => ['push', 'pull_request'],
108
108
:config => {
109
-
:url => 'http://something.com/webhook',
109
+
:url => 'http://example.com/webhook',
110
110
:content_type => 'json'}
111
111
%>
112
112
@@ -137,7 +137,7 @@ JSON true/false values will be converted automatically.
137
137
138
138
139
139
140
-
You can change a hook to send straight JSON by
140
+
You can change a hook to send straight JSON by
141
141
142
142
`events`
143
143
: _Optional_**array** - Determines what events the hook is triggered
0 commit comments