mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
post-receive: Send test-post-receive pushes to class test
(imported from commit 8f187464a4d82da071ffed79abf33ea05b999b95)
This commit is contained in:
parent
33a5157afd
commit
bfa24d75b6
@ -44,7 +44,7 @@ def process_push(oldrev, newrev, refname):
|
||||
commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- %s", "%s..%s" % (oldrev, newrev)])
|
||||
message_data = {
|
||||
"type": "class",
|
||||
"class": "devel",
|
||||
"class": "test" if refname == "refs/heads/test-post-receive" else "devel",
|
||||
"instance": "commits",
|
||||
"content": "The following commits were just pushed to `%s`:\n\n"
|
||||
% (refname.replace("refs/heads/", ""),) + commits,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user