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
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
44
+
[Web Service](https://github.com/github/github-services/blob/master/lib/services/web.rb) service which can be used to
45
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
-
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.
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/lib/services/web.rb) listens for all events. Other services like the [IRC Service](https://github.com/github/github-services/blob/master/lib/services/irc.rb) may only listen for `push`, `issues`, and `pull_request` events.
49
49
50
50
## List
51
51
@@ -91,7 +91,7 @@ for. Default: `["push"]`.
91
91
: _Optional_**boolean** - Determines whether the hook is actually
92
92
triggered on pushes.
93
93
94
-
Example: The ["web" service hook](https://github.com/github/github-services/blob/master/services/web.rb#L4-11)
94
+
Example: The ["web" service hook](https://github.com/github/github-services/blob/master/lib/services/web.rb#L4-11)
95
95
takes these fields:
96
96
97
97
*`url`
@@ -155,7 +155,7 @@ list of events that the Hook triggers for.
155
155
: _Optional_**boolean** - Determines whether the hook is actually
156
156
triggered on pushes.
157
157
158
-
Example: The ["web" service hook](https://github.com/github/github-services/blob/master/services/web.rb#L4-11)
158
+
Example: The ["web" service hook](https://github.com/github/github-services/blob/master/lib/services/web.rb#L4-11)
0 commit comments