Only show 'submitted' pull_request_review events

This commit is contained in:
jesopo 2019-04-17 10:33:12 +01:00
parent ee8c7813f7
commit 537613545d

View file

@ -533,6 +533,9 @@ class Module(ModuleManager.BaseModule):
author, action_desc, pr_title, url)]
def pull_request_review(self, full_name, data):
if not data["action"] == "submitted":
return []
if not "submitted_at" in data["review"]:
return []