Show new label for PR 'labeled' events
This commit is contained in:
parent
6626f60a64
commit
b692bc7e88
1 changed files with 2 additions and 0 deletions
|
@ -283,6 +283,8 @@ class GitHub(object):
|
||||||
for i, output in enumerate(outputs):
|
for i, output in enumerate(outputs):
|
||||||
outputs[i] = "[PR] %s" % output
|
outputs[i] = "[PR] %s" % output
|
||||||
return outputs
|
return outputs
|
||||||
|
elif action == "labeled":
|
||||||
|
action_desc = "labled %s as '%s'" % (number, data["label"]["name"])
|
||||||
|
|
||||||
pr_title = data["pull_request"]["title"]
|
pr_title = data["pull_request"]["title"]
|
||||||
url = self._short_url(data["pull_request"]["html_url"])
|
url = self._short_url(data["pull_request"]["html_url"])
|
||||||
|
|
Loading…
Reference in a new issue