webhooks/github: Ignore organization and milestone events.

These events are not super useful and were cluttering up our
webhook logs.
This commit is contained in:
Eeshan Garg 2019-03-09 16:43:32 -03:30 committed by Tim Abbott
parent 6afd02bef5
commit 7b6a37780a
1 changed files with 2 additions and 0 deletions

View File

@ -449,6 +449,8 @@ IGNORED_EVENTS = [
'repository_vulnerability_alert',
'project_card',
'check_suite',
'organization',
'milestone',
]
@api_key_only_webhook_view('GitHub', notify_bot_owner_on_invalid_json=True)