How to set up a webhook in GitHub

Every GitHub repository has the option to post an HTTP request to a web server whenever an issue changes its state. These webhooks can be used to update the status of the corresponding crash group automatically.

Basic Setup

Follow these steps to set up the webhook:

In HockeyApp:

  1. Click on your app on the Dashboard, then on Manage App > Bug Tracker.
  2. If not already done, configure your GitHub account.
  3. After successfully authenticating against GitHub, copy the webhook URL from the HockeyApp page for GitHub settings to your clipboard.

In GitHub:

  1. Sign in, then select the related repository you own.
  2. Click on "Settings" on the right panel.
  3. Then click on "Webhooks & Services" on the left panel.
  4. Click on the "Add WebHook" Button.
  5. Paste the copied URL in the URL form field.
  6. Select "application/json" as the content type.
  7. Select "Let me select individual events" and check "Issues".
  8. Leave the "Active" checkbox checked.
  9. Click on "Add webhook" to save the webhook.

Your configuration should look similar to this screenshot:
GitHubWebhook.png