Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Update Github for new doc format.

Niloth Pb7f263cd5cb4
diff --git a/zerver/webhooks/github/doc.md b/zerver/webhooks/github/doc.md
index 015080f9757..52bf499aa15 100644
--- a/zerver/webhooks/github/doc.md
+++ b/zerver/webhooks/github/doc.md
@@ -1,25 +1,40 @@
+# Zulip GitHub integration
+
Get GitHub notifications in Zulip!
+{start_tabs}
+
1. {!create-channel.md!}
1. {!create-an-incoming-webhook.md!}
-1. {!generate-integration-url.md!}
-
- You can refer to GitHub's documentation for [webhook events](https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads).
+1. {!generate-webhook-url-basic.md!}
- {!git-webhook-url-with-branches.md!}
+1. On your repository's web page, go to **Settings**. Select **Webhooks**,
+ and click **Add webhook**. GitHub may prompt you for your password.
-1. Go to your repository on GitHub and click on the **Settings** tab.
- Select **Webhooks**. Click on **Add webhook**. GitHub may prompt
- you for your password.
+1. Set **Payload URL** to the URL generated above. Set **Content type**
+ to `application/json`. Select the [events](#filtering-incoming-events)
+ you'd like to be notified about, and click **Add Webhook**.
-1. Set **Payload URL** to the URL constructed above. Set **Content type**
- to `application/json`. Select the events you would like to receive
- notifications for, and click **Add Webhook**.
+{end_tabs}
{!congrats.md!}
![](/static/images/integrations/github/001.png)
-See also the [GitHub Actions integration](/integrations/doc/github-actions).
+{!event-filtering-additional-feature.md!}
+
+### Configuration options
+
+{!git-branches-additional-feature.md!}
+
+### Related documentation
+
+- [GitHub's webhook events documentation][github-webhook-events]
+
+- [Zulip GitHub Actions integration](/integrations/doc/github-actions)
+
+{!webhooks-url-specification.md!}
+
+[github-webhook-events]: https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads