Files
zulip/zerver/webhooks/gitea/doc.md
Niloth P 8f564b2053 integration-docs: Update branch filtering instructions.
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.
2025-03-05 10:39:13 -08:00

28 lines
686 B
Markdown

# Zulip Gitea integration
Receive Gitea 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 Gitea and click on **Settings**. Select
**Webhooks** on the left sidebar, and click **Add Webhook**.
Select **Gitea**.
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!}
![](/static/images/integrations/gitea/001.png)
### Related documentation
{!webhooks-url-specification.md!}