GitHub Push Trigger
The following fields are available on GitHub Push events. See related documentation on getting started with GitHub and on event triggers.
Here are some of the most commonly used attributes.
attribute | description |
---|---|
event.github.push.ref | The full git ref that was pushed. Example: refs/heads/main or refs/tags/v3.14.1. |
event.github.push.after | The SHA of the most recent commit on ref after the push. |
event.github.push.head_commit.id | The SHA of the most recent commit on ref after the push. This is the same as event.github.push.after |
event.github.push.head_commit.message | The commit message of the head commit. |
event.github.push.repository.clone_url | The https URL that can be used to clone the repository. |
event.github.push.sender.login | The GitHub username of the user who pushed. |
For the full set of attributes, see GitHub's documentation on push webhooks