Files
zulip/zerver/webhooks/gogs/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

724 B

Zulip Gogs integration

Receive Gogs notifications in Zulip!

{start_tabs}

  1. {!create-an-incoming-webhook.md!}

  2. {!generate-webhook-url-with-branch-filtering.md!}

  3. Go to your repository on Gogs and click on Settings. Select Webhooks on the left sidebar, and click Add Webhook. Select Gogs.

  4. Set Payload URL to the URL generated 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!}

{!event-filtering-additional-feature.md!}

{!webhooks-url-specification.md!}