Skip to main content

github.commonpayload

Home > @runlightyear/github > CommonPayload

CommonPayload interface

Documentation: https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads\#webhook-payload-object-common-properties

Signature:
interface CommonPayload 

Required Properties

PropertyModifiersTypeDescription
repositoryRepositoryThe repository where the event occurred.
senderUserThe user that triggered the event.

Optional Properties

PropertyModifiersTypeDescription
enterprise?objectAn enterprise on GitHub.
installation?objectThe GitHub App installation.
organization?objectWebhook payloads contain the organization object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization.