GitHub - New or updated pull request (real-time) trigger

The New or updated pull request (real-time) trigger monitors a GitHub repository and runs when a pull request (PR) is created or updated.

Input

Input fieldDescription
OrganizationSelect from the drop-down menu or enter the organization name. You can find the organization name in your GitHub URL. For example, https://github.com/organization/repo_name/.
Repository nameEnter the repository name you plan to monitor for new PRs.
ActionSelect the PR status you plan to monitor new or updated PRs for in the repository. Available statuses includeAll, Opened PR, Closed PR, Reopened PR, Assigned PR, and Unassigned PR.

Output

Output fieldDescription
URLThe URL of the new or updated PR.
IDThe ID of the new or updated PR.
HTML URLThe URL linking to the new or updated PR in HTML format.
Diff URLThe URL linking to the diff of the new or updated PR.
Patch URLThe URL linking to the patch associated with the new or updated PR.
Issue URLThe URL linking to the issue associated with the new or updated PR.
NumberThe number of the new or updated PR.
StateThe state of the new or updated PR. For example, Open.
LockedIndicates if the new or updated PR is locked or not.
TitleThe title of the new or updated PR.
MergedIndicates if the new or updated PR is merged or not.
MergeableIndicates if the new or updated PR is eligible to merge or not.
Mergeable stateIndicates if the new or updated PR is in a mergeable state or not.
CommentsLists any comments associated with the new or updated PR.
Review commentsThe review comments associated with the new PR.
Maintainer can modifyIndicates if the user with the maintainer role can modify the new or updated PR.
CommitsLists commits associated with the new or updated PR.
AdditionsAny newly added lines to the PR.
DeletionsAny lines deleted from the PR.
Changed filesLists any files changed in the PR.
BodyThe body of the PR.
Created atThe date and time when the new or updated PR was created.
Updated atThe date and time when the new or updated PR was updated.
Closed atThe date and time when the new or updated PR was closed.
Merged atThe date and time when the new or updated PR was merged.
Merge commit SHAThe commit SHA associated with the PR.
LabelsAny labels associated with the new or updated PR.
MilestoneInformation about any milestones associated with the new or updated PR.
Commits URLThe URL linking to the commits associated with the new or updated PR.
Review comments URLThe URL linking to the review comments associated with the new or updated PR.
Comments URLThe URL linking to the comments associated with the new or updated PR.
Statuses URLThe URL linking to the statuses associated with the new or updated PR.
HeadInformation about the head commit associated with the new or updated PR.
BaseInformation about the base commit associated with the new or updated PR.
LinksInformation about the links associated with the new or updated PR.
Merged byInformation about the user that merged the new or updated PR.
AssigneeInformation about the assignee of the new or updated PR.
AssigneesInformation about the assignees of the new or updated PR.
UserInformation about the user of the new or updated PR.
Requested reviewersInformation about the requested reviewers of the new or updated PR.

Last updated: