Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Created December 11, 2016 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guitarrapc/4494fc11ffdfd85a7dfe11a918b328ee to your computer and use it in GitHub Desktop.
Save guitarrapc/4494fc11ffdfd85a7dfe11a918b328ee to your computer and use it in GitHub Desktop.
Change Github Integrations & services Event target
curl -X PATCH -H "Authorization: Bearer YOUR_APPLICATION_TOKEN" -H "Content-Type: application/json" -d '{
"active": true,
"events": ["issues", "issue_comment", "pull_request", "pull_request_review", "pull_request_review_comment"]
}' 'https://api.github.com/repos/ORG_OR_USERNAME/YOUR_REPOSITORY_NAME/hooks/YOUR_HOOK_ID'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment