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.
This commit is contained in:
Eeshan Garg
2019-06-06 01:44:32 -02:30
committed by Tim Abbott
parent 8e10ab282a
commit badaf28f21

View File

@@ -455,6 +455,7 @@ IGNORED_EVENTS = [
'check_suite', 'check_suite',
'organization', 'organization',
'milestone', 'milestone',
'meta',
] ]
@api_key_only_webhook_view('GitHub', notify_bot_owner_on_invalid_json=True) @api_key_only_webhook_view('GitHub', notify_bot_owner_on_invalid_json=True)