Skip to main content
getGitHubPullRequest gets a pull request with its branches, merge state, requested reviewers, labels, and repository metadata.
automations/get-github-pull-request.automation.ts
owner, repository, and positive integer pullRequestNumber are required. Optional account defaults to the project binding. Inputs accept compatible signals. Returns GitHub’s complete typed pull request object. GitHub returns an error when the installation cannot access the repository or the pull request does not exist.