We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2fe8ea commit 8d1b44dCopy full SHA for 8d1b44d
src/main/java/org/kohsuke/github/GHHook.java
@@ -41,6 +41,13 @@ public Map<String, String> getConfig() {
41
return Collections.unmodifiableMap(config);
42
}
43
44
+ /**
45
+ * @see <a href="https://developer.github.com/v3/repos/hooks/#ping-a-hook">Ping hook</a>
46
+ */
47
+ public void ping() throws IOException {
48
+ new Requester(getRoot()).method("POST").to(getApiRoute() + "/pings");
49
+ }
50
+
51
/**
52
* Deletes this hook.
53
*/
0 commit comments