Create routes for /webhooks/github/push and /webhooks/github/pull_request that receive the payloads documented here -> https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request
Note the best practices here -> https://docs.github.com/en/webhooks/using-webhooks/best-practices-for-using-webhooks
We should validate the webhook delivery using a new secret env variable, checked against the X-Hub-Signature-256 header.
If successful, the webhook payload should be sent to a new WEBHOOK_PUSH or WEBHOOK_PULL_REQUEST bullmq job.
(do not implement the jobs in this task)
Create routes for
/webhooks/github/pushand/webhooks/github/pull_requestthat receive the payloads documented here -> https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_requestNote the best practices here -> https://docs.github.com/en/webhooks/using-webhooks/best-practices-for-using-webhooks
We should validate the webhook delivery using a new secret env variable, checked against the
X-Hub-Signature-256header.If successful, the webhook payload should be sent to a new
WEBHOOK_PUSHorWEBHOOK_PULL_REQUESTbullmq job.(do not implement the jobs in this task)