Skip to content

Commit

Permalink
feat: allow deletion of GitHub webhooks in Snyk client-template
Browse files Browse the repository at this point in the history
  • Loading branch information
gjvis committed Sep 22, 2016
1 parent 067a1cd commit 00f513b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client-templates/snyk/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 00f513b

Please sign in to comment.