GitHubPullRequestEventModel#
- pydantic model safir.github.webhooks.GitHubPullRequestEventModel#
A Pydantic model for a
pull_requestwebhook.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 pull_request:
GitHubPullRequestModel[Required]# Information about the pull request.
-
field repository:
GitHubRepositoryModel[Required]# The repository that the pull request was opened against.