GitHub Pull Request Trigger

The following fields are available on GitHub Pull Request events. See related documentation on getting started with GitHub and on event triggers.

Here are some of the most commonly used attributes.

attributedescription
event.git.branchThe pull request branch
event.git.shaThe commit sha of the head of the pull request
event.git.refThe fully qualified ref of the pull request branch, which always starts with refs/heads/
event.github.pull_request.numberThe pull request number
event.github.pull_request.pull_request.titleThe pull request title

For the full set of attributes available within event.github.pull_request, see GitHub's documentation on pull request webhooks