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:
repository (
GitHubRepositoryModel)installation (
GitHubAppInstallationModel)action (
GitHubPullRequestEventAction)number (
int)pull_request (
GitHubPullRequestModel)
- 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.