# GitHub - New PR trigger

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

# Input

Input field Description
Organization Select 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 name Enter the repository name you plan to monitor for new PRs.

# Output

Output field Description
ID The ID of the new PR.
URL The URL of the new PR. For example,https://api.github.com/repos/test-demo-check/demo-repository/issues/2.
HTML URL The URL linking to the PR in HTML format.
Diff URL The URL linking to the diff of the PR.
Patch URL The URL linking to the patch associated with the PR.
Issue URL The URL linking to the issue associated with the PR.
Commits URL The URL linking to the commits associated with the PR.
Review comments The review comments associated with the new PR.
Review comment URL The URL linking to the PR's review comment.
Comments URL The URL linking to the PR's comments. For example, https://api.github.com/repos/test-demo-check/demo-repository/issues/2/comments.
Statuses URL The URL linking to the status associated with the PR.
Number The number of the PR.
State The state that the PR is in. For example, Open.
Title The title of the PR.
Body The contents of the body of the PR.
Assignee Details about the user assigned to the PR.
Milestone Information about any milestones associated with the PR.
Locked Indicates if the PR is locked or not.
Created at The date and time when the PR was created.
Updated at The date and time when the PR was updated.
Closed at The date and time when the PR was closed.
Merged at The date and time when the PR was merged.
Head Information about the head commit associated with the PR.
Base Information about the base commit associated with the PR.
Links Information about any links associated with the PR.
User Information about the user associated with the PR.


Last updated: 8/19/2025, 6:21:58 PM

On this page