Skip to content

Create push & pull_request webhook routes #205

Description

@fennifith

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions