Skip to content

Commit

Permalink
zulip_git_config: Add old default branch name for compatibility.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <anders@zulip.com>
  • Loading branch information
andersk committed Aug 31, 2021
1 parent 5da0857 commit bdc139e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zulip/integrations/git/zulip_git_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# * 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
Expand Down

0 comments on commit bdc139e

Please sign in to comment.