GitHub - New PR trigger

The New PR trigger monitors a GitHub repository and triggers when a new pull request (PR) is created.

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.

Output

Output fieldDescription
IDThe ID of the new PR.
URLThe URL of the new PR. For example,https://api.github.com/repos/test-demo-check/demo-repository/issues/2.
HTML URLThe URL linking to the PR in HTML format.
Diff URLThe URL linking to the diff of the PR.
Patch URLThe URL linking to the patch associated with the PR.
Issue URLThe URL linking to the issue associated with the PR.
Commits URLThe URL linking to the commits associated with the PR.
Review commentsThe review comments associated with the new PR.
Review comment URLThe URL linking to the PR's review comment.
Comments URLThe URL linking to the PR's comments. For example, https://api.github.com/repos/test-demo-check/demo-repository/issues/2/comments.
Statuses URLThe URL linking to the status associated with the PR.
NumberThe number of the PR.
StateThe state that the PR is in. For example, Open.
TitleThe title of the PR.
BodyThe contents of the body of the PR.
AssigneeDetails about the user assigned to the PR.
MilestoneInformation about any milestones associated with the PR.
LockedIndicates if the PR is locked or not.
Created atThe date and time when the PR was created.
Updated atThe date and time when the PR was updated.
Closed atThe date and time when the PR was closed.
Merged atThe date and time when the PR was merged.
HeadInformation about the head commit associated with the PR.
BaseInformation about the base commit associated with the PR.
LinksInformation about any links associated with the PR.
UserInformation about the user associated with the PR.

Last updated: