support check_run.status as a category+[status]
This commit is contained in:
parent
2f5d001a79
commit
c4c6fdde1c
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ class GitHub(object):
|
|||
category_action = None
|
||||
if "review" in data and "state" in data["review"]:
|
||||
category = "%s+%s" % (event, data["review"]["state"])
|
||||
elif "check_run" in data and "status" in data["check_run"]:
|
||||
category = "%s+%s" % (event, data["check_run"]["status"])
|
||||
|
||||
if action:
|
||||
if category:
|
||||
|
|
Loading…
Reference in a new issue