aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/gitea.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git_webhooks/gitea.py')
-rw-r--r--modules/git_webhooks/gitea.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitea.py b/modules/git_webhooks/gitea.py
index 19abd8bf..53172f6f 100644
--- a/modules/git_webhooks/gitea.py
+++ b/modules/git_webhooks/gitea.py
@@ -72,7 +72,7 @@ class Gitea(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])