Skip to content

GitHubHook

Defined in: hooks/hooks.ts:8

A webhook as GitHub returns it. The signing secret is never part of it (GitHub shows ******** or leaves it out).

active: boolean

Defined in: hooks/hooks.ts:12

Whether GitHub delivers to it.


config: object

Defined in: hooks/hooks.ts:16

Where and how it delivers.

optional content_type?: string

json or form.

optional url?: string

The URL GitHub posts to.


events: string[]

Defined in: hooks/hooks.ts:14

The events it subscribes to (dependabot_alert, push, *).


id: number

Defined in: hooks/hooks.ts:10

GitHub’s id for the webhook.