mirror of https://github.com/zulip/zulip.git
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:
parent
ec81410b03
commit
c78c3f423c
|
@ -424,7 +424,8 @@ EVENT_FUNCTION_MAPPER = {
|
||||||
}
|
}
|
||||||
|
|
||||||
IGNORED_EVENTS = [
|
IGNORED_EVENTS = [
|
||||||
'repository_vulnerability_alert'
|
'repository_vulnerability_alert',
|
||||||
|
'project_card',
|
||||||
]
|
]
|
||||||
|
|
||||||
@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)
|
||||||
|
|
Loading…
Reference in New Issue