Boldify sender
on a pull request review comment (github.py)
This commit is contained in:
parent
ac3c361399
commit
56f431176c
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
number = data["pull_request"]["number"]
|
number = data["pull_request"]["number"]
|
||||||
action = data["action"]
|
action = data["action"]
|
||||||
pr_title = data["pull_request"]["title"]
|
pr_title = data["pull_request"]["title"]
|
||||||
sender = data["sender"]["login"]
|
sender = utils.irc.bold(data["sender"]["login"])
|
||||||
url = self._short_url(data["comment"]["html_url"])
|
url = self._short_url(data["comment"]["html_url"])
|
||||||
return ["[pr #%d] %s %s on a review: %s - %s" %
|
return ["[pr #%d] %s %s on a review: %s - %s" %
|
||||||
(number, sender, COMMENT_ACTIONS[action], pr_title, url)]
|
(number, sender, COMMENT_ACTIONS[action], pr_title, url)]
|
||||||
|
|
Loading…
Reference in a new issue