GitHubPushEventModel#
- pydantic model safir.github.webhooks.GitHubPushEventModel#
A Pydantic model for the
pushevent webhook when a commit or tag is pushed.https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
- Parameters:
repository (
GitHubRepositoryModel)installation (
GitHubAppInstallationModel)ref (
str)before (
str)after (
str)
- Fields:
- field installation: GitHubAppInstallationModel [Required]#
Information about the GitHub App installation.
- field ref: str [Required]#
The full git ref that was pushed. Example: refs/heads/main or refs/tags/v3.14.1.
- field repository: GitHubRepositoryModel [Required]#
The repository that was pushed to.