From 2afe2d1c579bf5760fedf69df4046bf772088ac7 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 9 Jan 2019 22:50:41 +0000 Subject: [PATCH] Show which branch is being merged in to which (github.py) --- modules/github.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/github.py b/modules/github.py index 827c7f50..851cde4d 100644 --- a/modules/github.py +++ b/modules/github.py @@ -78,9 +78,10 @@ class Module(ModuleManager.BaseModule): removed = self._removed(page.data["deletions"]) url = self._short_url(page.data["html_url"]) - event["stdout"].write("(%s/%s pull#%s) [%s/%s] %s %s" % ( + event["stdout"].write( + "(%s/%s pull#%s) [%s/%s] %s→%s - %s %s" % ( username, repository, number, added, removed, - page.data["title"], url)) + from_repo, to_repo, page.data["title"], url)) @utils.hook("api.post.github") def webhook(self, event):