From 00f513b068af6ccd49ef4df56d619b43602f177f Mon Sep 17 00:00:00 2001 From: Gareth Visagie Date: Thu, 22 Sep 2016 10:51:22 +0100 Subject: [PATCH] feat: allow deletion of GitHub webhooks in Snyk client-template --- client-templates/snyk/accept.json.sample | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client-templates/snyk/accept.json.sample b/client-templates/snyk/accept.json.sample index d5a8f19b6..a4937f656 100644 --- a/client-templates/snyk/accept.json.sample +++ b/client-templates/snyk/accept.json.sample @@ -60,6 +60,13 @@ "origin": "https://${TOKEN}@${GITHUB_API}" }, + { + "//": "allow webhooks to be deleted, used to cleanup when a user deactivates or deletes a project", + "method": "DELETE", + "path": "/repos/:owner/:repo/hooks/:id", + "origin": "https://${TOKEN}@${GITHUB_API}" + }, + { "//": "used to create commit status messages", "method": "POST",