Skip to content

GitHubWebhookHeaders

Defined in: webhooks/webhooks.ts:44

The three GitHub webhook headers a consumer needs.

delivery: string | undefined

Defined in: webhooks/webhooks.ts:48

X-GitHub-Delivery — GitHub’s per-delivery id, useful for idempotency/logging.


event: string | undefined

Defined in: webhooks/webhooks.ts:46

X-GitHub-Event — the event category, e.g. "push", "pull_request".


signature: string | undefined

Defined in: webhooks/webhooks.ts:50

X-Hub-Signature-256 — pass straight to verifyGitHubWebhookSignature.