aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/github.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git_webhooks/github.py')
-rw-r--r--modules/git_webhooks/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py
index 7195f354..1ff1e57d 100644
--- a/modules/git_webhooks/github.py
+++ b/modules/git_webhooks/github.py
@@ -114,7 +114,7 @@ class GitHub(object):
event_action = None
if "action" in data:
event_action = "%s/%s" % (event, data["action"])
- return event, event_action
+ return [event]+([event_action] if event_action else [])
def event_categories(self, event):
return EVENT_CATEGORIES.get(event, [event])