Skip to content

Interface: GithubWebhookStreamOptions ​

Defined in: github/src/builders/github-webhook-stream-options.ts:9

Configuration options for the GitHub webhook event stream builder (github.webhookStream).

Defines the optional repository filter, local HTTP listener port and route path, HMAC-SHA256 webhook secret, and subscribed GitHub webhook event names.

Properties ​

PropertyModifierTypeDescriptionDefined in
eventsreadonlyreadonly string[]Subscribed GitHub webhook event names (such as 'pull_request.closed').github/src/builders/github-webhook-stream-options.ts:19
path?readonlystringOptional HTTP route path for incoming webhook deliveries (defaults to '/webhooks/github').github/src/builders/github-webhook-stream-options.ts:15
port?readonlynumberOptional local TCP listener port (defaults to 3000).github/src/builders/github-webhook-stream-options.ts:13
repo?readonlystringOptional GitHub repository slug in owner/repo format used to filter webhook deliveries.github/src/builders/github-webhook-stream-options.ts:11
secretreadonlystring | EnvRefGitHub webhook HMAC-SHA256 secret string or symbolic P.env(...) reference.github/src/builders/github-webhook-stream-options.ts:17

Released under the MIT License.