2017-07-25 03:02:36 +02:00
|
|
|
For the integration based on the deprecated
|
|
|
|
[GitHub Services](https://github.com/github/github-services),
|
|
|
|
see [here](./github).
|
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
1. {!create-stream.md!}
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
2. {!create-bot-construct-url-indented.md!}
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
3. {!git-webhook-url-with-branches-indented.md!}
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
4. Next, go to your repository page and click **Settings**:
|
|
|
|
![](/static/images/integrations/github_webhook/001.png)
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
5. From there, select **Webhooks**:
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
![](/static/images/integrations/github_webhook/002.png)
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
6. Click **Add webhook**.
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
![](/static/images/integrations/github_webhook/003.png)
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
7. Authorize yourself and configure your webhook.
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
8. In the **Payload URL** field, enter the URL constructed above.
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
9. Then, set **Content type** to `application/json`.
|
2017-06-04 23:50:37 +02:00
|
|
|
|
2017-11-25 00:07:21 +01:00
|
|
|
10. Next, select the actions that you want to result in a Zulip
|
|
|
|
notification and click **Add Webhook**.
|
2017-06-04 23:50:37 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/github_webhook/004.png)
|