mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +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.
		
			
				
	
	
		
			28 lines
		
	
	
		
			686 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			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!}
 | 
						|
 | 
						|

 | 
						|
 | 
						|
### Related documentation
 | 
						|
 | 
						|
{!webhooks-url-specification.md!}
 |