webhooks/github: Ignore project_card events.

The payloads for this event are missing some important details
about the Project's changes, such as the name of the project,
the card's column name, etc. Without such details, the resultant
notifications would not be useful at all!
This commit is contained in:
Eeshan Garg 2019-02-19 17:56:11 -03:30 committed by Tim Abbott
parent ec81410b03
commit c78c3f423c
1 changed files with 2 additions and 1 deletions

View File

@ -424,7 +424,8 @@ EVENT_FUNCTION_MAPPER = {
}
IGNORED_EVENTS = [
'repository_vulnerability_alert'
'repository_vulnerability_alert',
'project_card',
]
@api_key_only_webhook_view('GitHub', notify_bot_owner_on_invalid_json=True)