From badaf28f21fdb9dc758ecd7ce6ff5fd49fd5d668 Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Thu, 6 Jun 2019 01:44:32 -0230 Subject: [PATCH] webhooks/github: Ignore 'meta' events. This event occurs when its corresponding webhook is deleted. This isn't very useful information, so we should ignore it. --- zerver/webhooks/github/view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zerver/webhooks/github/view.py b/zerver/webhooks/github/view.py index 6f287fb352..9c9ea5a418 100644 --- a/zerver/webhooks/github/view.py +++ b/zerver/webhooks/github/view.py @@ -455,6 +455,7 @@ IGNORED_EVENTS = [ 'check_suite', 'organization', 'milestone', + 'meta', ] @api_key_only_webhook_view('GitHub', notify_bot_owner_on_invalid_json=True)