GitHubPullRequestEventModel#

pydantic model safir.github.webhooks.GitHubPullRequestEventModel#

A Pydantic model for a pull_request webhook.

https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request

Parameters:

data (Any)

Fields:
field action: GitHubPullRequestEventAction [Required]#

The action that was performed.

field installation: GitHubAppInstallationModel [Required]#

Information about the GitHub App installation.

field number: int [Required]#

Pull request number

field pull_request: GitHubPullRequestModel [Required]#

Information about the pull request.

field repository: GitHubRepositoryModel [Required]#

The repository that the pull request was opened against.