don't show pull request review events when they're "commented"
This commit is contained in:
parent
d961416401
commit
66a904b5aa
1 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
(full_name, pr_number, author, action_desc, pr_title, url)]
|
(full_name, pr_number, author, action_desc, pr_title, url)]
|
||||||
|
|
||||||
def pull_request_review(self, event, full_name, data):
|
def pull_request_review(self, event, full_name, data):
|
||||||
|
if data["review"]["state"] == "commented":
|
||||||
|
return []
|
||||||
|
|
||||||
action = data["action"]
|
action = data["action"]
|
||||||
pr_number = data["pull_request"]["number"]
|
pr_number = data["pull_request"]["number"]
|
||||||
pr_title = data["pull_request"]["title"]
|
pr_title = data["pull_request"]["title"]
|
||||||
|
|
Loading…
Reference in a new issue