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).
Properties
Section titled “Properties”active
Section titled “active”active:
boolean
Defined in: hooks/hooks.ts:12
Whether GitHub delivers to it.
config
Section titled “config”config:
object
Defined in: hooks/hooks.ts:16
Where and how it delivers.
content_type?
Section titled “content_type?”
optionalcontent_type?:string
json or form.
optionalurl?:string
The URL GitHub posts to.
events
Section titled “events”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.