Show which branch is being merged in to which (github.py)
This commit is contained in:
parent
d6da46fac3
commit
2afe2d1c57
1 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue