Skip to content

batches: Don't 500 on unknown webhook events

Administrator requested to merge es/no-500-webhook-events into main

Created by: eseliger

Fixes the behavior reported here: https://github.com/sourcegraph/customer/issues/782 and doesn't mark webhooks we don't need as errors in the webhook logs. Also this will stop GitHub from retrying webhook delivery.

Test plan

Tested locally using postman that this doesn't trigger the log anymore.

Merge request reports

Loading