zulip_git_config: Add old default branch name for compatibility.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
							parent
							
								
									5da0857d51
								
							
						
					
					
						commit
						bdc139e9ed
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -24,7 +24,7 @@ ZULIP_API_KEY = "0123456789abcdef0123456789abcdef" | |||
| # * topic "main" | ||||
| # And similarly for branch "test-post-receive" (for use when testing). | ||||
| def commit_notice_destination(repo: str, branch: str, commit: str) -> Optional[Dict[str, str]]: | ||||
|     if branch in ["main", "test-post-receive"]: | ||||
|     if branch in ["main", "master", "test-post-receive"]: | ||||
|         return dict(stream=STREAM_NAME, subject=f"{branch}") | ||||
| 
 | ||||
|     # Return None for cases where you don't want a notice sent | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Anders Kaseorg
						Anders Kaseorg