GitHubPullRequestWebhookPayload
Defined in: webhooks/webhooks.ts:106
The payload of a pull_request webhook delivery.
Properties
Section titled “Properties”action
Section titled “action”action:
string
Defined in: webhooks/webhooks.ts:108
What happened to the pull request, e.g. opened or closed.
changes?
Section titled “changes?”
optionalchanges?:object
Defined in: webhooks/webhooks.ts:110
For an edited action, the fields that changed (each holds the previous value); absent for other actions.
optionalbody?:object
Present when the description was edited.
body.from
Section titled “body.from”from:
string|null
The description before the edit; null when it was empty.
title?
Section titled “title?”
optionaltitle?:object
Present when the title was edited.
title.from
Section titled “title.from”from:
string
The title before the edit.
installation?
Section titled “installation?”
optionalinstallation?:object
Defined in: webhooks/webhooks.ts:123
The installation the delivery is about, when sent.
id:
number
The installation id.
repository
Section titled “repository”repository:
object
Defined in: webhooks/webhooks.ts:128
The repository the pull request belongs to.
full_name
Section titled “full_name”full_name:
string
The repository’s owner/name.