Read Pull Request

Read a pull request from GitHub.

Unless otherwise indicated, field type is text.

Required fields are indicated by a red asterisk.

Options

  • Organization (dropdown): A list of available organizations in GitHub.

  • Repository (dropdown): The repository that contains the pull request.

Input

  • Pull Request

    • Pull Request Number: The number of the pull request to read.

Output

  • Pull Request

    • State: The state of the pull request.

    • Title: The title of the pull request.

    • Description: The description of the pull request.

    • Author Association: The relationship of the author to the subject of the comment.

    • Username: The login of the user who raised the pull request.

    • User Node ID: The node ID of the user.

    • User ID: The ID of the user who raised the issue.

    • Assignee Username: The login of the user to whom the pull request is assigned.

    • Assignee Node ID: The node ID of the assignee.

    • Merged By: The ID of the user to whom the pull request is assigned.

    • Assignees (object): The users to whom the pull request is assigned.

    • Requested Reviewers (object): The users who were requested to review the pull request.

    • Requested Teams (object): The teams who were requested to review the pull request.

    • Labels (object): The list of labels associated with the pull request.

    • Is Mergeable? (true/false): If true, the pull request can be merged. If null, GitHub is determining whether the pull can be merged.

    • Mergeable State: The current state of the merge; one of: clean, dirty, or unstable.

    • Pull Request ID (number): The ID of the pull request.

    • Pull Request Node ID: The node ID of the pull request.

    • Pull Request Number: The pull request's URL.

    • Milestone Title: The title of the milestone associated with the pull request.

    • Milestone ID: The unique identifier for the milestone that the pull request is associated with.

    • Merge Commit SHA: The state of the milestone.

    • Milestone Number (number): The milestone number milestone that the pull request is associated with.

    • Assignee ID (number): The ID of the user to whom the pull request is assigned.

    • Active Lock Reason: The reason for a lock, if any.

    • BASE Branch: The base branch of the pull request.

    • HEAD Branch: The head branch of the pull request.

    • Diff URL: A URL that contains a diff for the pull request.

    • HTML URL: A URL that contains a human-readable HTML version of the pull request.

    • Patch URL: A URL that contains a patch for the pull request.

    • Created At (date): The time the pull request was created.

    • Merged At (date): The time the pull request was merged.

    • Closed At (date): The time the pull request was closed.

    • Updated At (date): The time the pull request was last updated.

    • Is Merged? (true/false): If true, the pull request has been merged.

    • Maintainer Can Modify? (true/false): If true, the upstream maintainers can modify the pull request.

    • Is Locked? (true/false): If true, the pull request is locked.

    • Is Draft? (true/false): If true, the pull request is a draft.

    • Additions Count (number): The number of additions included in the pull request.

    • Review Comments Count (number): The number of review comments included in the pull request.

    • Comments Count (number): The number of comments included in the pull request.

    • Deletions Count (number): The number of deletions included in the pull request.

    • Changed Files Count (number): The number of files changed by the pull request.

    • Commits Count (number): The number of commits included in the pull request.

    Related topics

    GitHub connector

    About the elements of Okta Workflows

    GitHub API documentation