We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0037bbf + 05ec968 commit 0a0ec28Copy full SHA for 0a0ec28
content/v3/repos/hooks.md
@@ -159,10 +159,12 @@ triggered on pushes.
159
<%= headers 200 %>
160
<%= json :hook %>
161
162
-## Test a hook
+## Test a `push` hook
163
164
This will trigger the hook with the latest push to the current
165
-repository.
+repository if the hook is subscribed to `push` events. If the
166
+hook is not subscribed to `push` events, the server will respond
167
+with 204 but no test POST will be generated.
168
169
POST /repos/:owner/:repo/hooks/:id/tests
170
0 commit comments