From e6a32a8bb9fb2d5f64381131f1934e1b9ce5c189 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 19 Mar 2019 16:10:59 +0000 Subject: Don't handle `commented` state in pull_request_review --- modules/github/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/github') diff --git a/modules/github/__init__.py b/modules/github/__init__.py index c3812411..485a109d 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -536,6 +536,9 @@ class Module(ModuleManager.BaseModule): return [] state = data["review"]["state"] + if state == "commented": + return [] + number = utils.irc.color("#%s" % data["pull_request"]["number"], COLOR_ID) action = data["action"] -- cgit v1.3.1-10-gc9f91