Skip to content
Français

GithubWebhookOptions

import type { GithubWebhookOptions } from "@elie-laloum/outpost";
  • secretRequired
    TriggerSecret
    Webhook secret verifying X-Hub-Signature-256, or a callback returning every currently accepted secret (old and new during a rotation). An empty string throws at creation; a callback that fails or returns no secret denies requests.
export interface GithubWebhookOptions {
  /** Webhook secret verifying `X-Hub-Signature-256`. */
  readonly secret: TriggerSecret;
}