Show which branch is being merged in to which (github.py)

This commit is contained in:
jesopo 2019-01-09 22:50:41 +00:00
parent d6da46fac3
commit 2afe2d1c57

View file

@ -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):