OptionalactiveWhether the webhook is active. Defaults to true.
Webhook configuration (required)
Optionalcontent_type?: "json" | "form"Payload format: 'json' or 'form'. Defaults to 'form'.
Optionalinsecure_ssl?: "0" | "1"Whether to disable SSL verification. '0' = disabled. Defaults to '1' (enabled).
Optionalsecret?: stringHMAC secret for signature verification
Payload delivery URL (required)
OptionaleventsEvents that trigger this webhook. Defaults to ['push'].
Request body for creating a repository webhook.
See
https://docs.github.com/en/rest/webhooks/repos#create-a-repository-webhook