We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0749c23 commit 8bf8801Copy full SHA for 8bf8801
handlers/watchers/__init__.py
@@ -23,6 +23,9 @@ def build_message(mentions):
23
24
class WatchersHandler(EventHandler):
25
def on_pr_opened(self, api, payload):
26
+ if "pull_request" not in payload:
27
+ return
28
+
29
user = payload['pull_request']['user']['login']
30
31
watchers = get_people_from_config(api, WATCHERS_CONFIG_FILE)
0 commit comments