mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Updated the Git-related integrations that support branch filtering: - Removed the branch-filtering configuration option, and its macro. - Added a new macro that integrates the branch-filtering instruction with the Generate-URL step. The new macro `generate-webhook-url-with-branch-filtering` builds off of the `generate-webhook-url-basic` macro, adding only the branch filtering instruction. But, it does not re-use the macro, instead duplicates it, to avoid the newline break that would be added otherwise.
30 lines
724 B
Markdown
30 lines
724 B
Markdown
# Zulip Gogs integration
|
|
|
|
Receive Gogs notifications in Zulip!
|
|
|
|
{start_tabs}
|
|
|
|
1. {!create-an-incoming-webhook.md!}
|
|
|
|
1. {!generate-webhook-url-with-branch-filtering.md!}
|
|
|
|
1. Go to your repository on Gogs and click on **Settings**. Select
|
|
**Webhooks** on the left sidebar, and click **Add Webhook**.
|
|
Select **Gogs**.
|
|
|
|
1. Set **Payload URL** to the URL generated above. Set **Content type**
|
|
to `application/json`. Select the [events](#filtering-incoming-events)
|
|
you would like to receive notifications for, and click **Add Webhook**.
|
|
|
|
{end_tabs}
|
|
|
|
{!congrats.md!}
|
|
|
|

|
|
|
|
{!event-filtering-additional-feature.md!}
|
|
|
|
### Related documentation
|
|
|
|
{!webhooks-url-specification.md!}
|