Only show 'submitted' pull_request_review events
This commit is contained in:
parent
ee8c7813f7
commit
537613545d
1 changed files with 3 additions and 0 deletions
|
@ -533,6 +533,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
author, action_desc, pr_title, url)]
|
author, action_desc, pr_title, url)]
|
||||||
|
|
||||||
def pull_request_review(self, full_name, data):
|
def pull_request_review(self, full_name, data):
|
||||||
|
if not data["action"] == "submitted":
|
||||||
|
return []
|
||||||
|
|
||||||
if not "submitted_at" in data["review"]:
|
if not "submitted_at" in data["review"]:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue