Show newly added labels when a pull request is labeled
This commit is contained in:
parent
dea63d9cf2
commit
de60d245b5
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
utils.consts.RED)
|
utils.consts.RED)
|
||||||
elif action == "synchronize":
|
elif action == "synchronize":
|
||||||
action_desc = "committed to"
|
action_desc = "committed to"
|
||||||
|
elif action == "labeled":
|
||||||
|
action_desc = "labeled as '%s'" % data["pull_request"]["labels"][-1]
|
||||||
|
|
||||||
pr_title = data["pull_request"]["title"]
|
pr_title = data["pull_request"]["title"]
|
||||||
author = utils.irc.bold(data["sender"]["login"])
|
author = utils.irc.bold(data["sender"]["login"])
|
||||||
|
|
Loading…
Reference in a new issue