Skip to main content

github.updaterepositorywebhookprops

Home > @runlightyear/github > UpdateRepositoryWebhookProps

UpdateRepositoryWebhookProps interface

Signature:
interface UpdateRepositoryWebhookProps 

Required Properties

PropertyModifiersTypeDescription
hookIdnumberThe unique identifier of the hook.
ownerstringThe account owner of the repository. The name is not case sensitive.
repostringThe name of the repository. The name is not case sensitive.

Optional Properties

PropertyModifiersTypeDescription
active?boolean

Determines if notifications are sent when the webhook is triggered. Set to true to send notifications.

Default: true

addEvents?Array<string>Determines a list of events to be added to the list of events that the Hook triggers for.
config?WebhookConfigKey/value pairs to provide settings for this webhook.
events?Array<string>

Determines what events the hook is triggered for. This replaces the entire array of events.

Default: push

removeEvents?Array<string>Determines a list of events to be removed from the list of events that the Hook triggers for.