aboutsummaryrefslogtreecommitdiff
path: root/modules/github/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github/__init__.py')
-rw-r--r--modules/github/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 8046b50e..d26c9786 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -480,6 +480,8 @@ class Module(ModuleManager.BaseModule):
def pull_request_review(self, full_name, data):
if data["review"]["state"] == "commented":
return []
+ if not "submitted_at" in data["review"]:
+ return []
number = data["pull_request"]["number"]
action = data["action"]