diff options
| author | 2019-04-17 10:33:12 +0100 | |
|---|---|---|
| committer | 2019-04-17 10:33:12 +0100 | |
| commit | 537613545d128695a62c799767dc04d476a84dd6 (patch) | |
| tree | 6e7057f643088d6a7afccf98207ca6168f41eab1 /modules/github | |
| parent | Add IRCServer.send_raw so modules don't have to parse messages before sending (diff) | |
| signature | ||
Only show 'submitted' pull_request_review events
Diffstat (limited to 'modules/github')
| -rw-r--r-- | modules/github/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index bb342ae7..a143ff7c 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -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 [] |
