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
Copy file name to clipboardExpand all lines: content/v3/repos/hooks.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Repositories can have multiple webhooks installed. Each webhook should have a un
43
43
44
44
Name | Type | Description
45
45
-----|------|--------------
46
-
`name`|`string` | **Required**. The name of the service that is being called. (See <ahref='https://api.github.com/hooks'data-proofer-ignore>/hooks</a> for the list of valid hook names.)
46
+
`name`|`string` | **Required**. Use `web` for a webhook or use the name of a valid service. (See <ahref='https://api.github.com/hooks'data-proofer-ignore>/hooks</a> for the list of valid service names.)
47
47
`config`|`object` | **Required**. Key/value pairs to provide settings for this hook. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services) repository. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
48
48
`events`|`array` | Determines what events the hook is triggered for. Default: `["push"]`
49
49
`active`|`boolean` | Determines whether the hook is actually triggered on pushes.
0 commit comments