Get a Pull Request

Fetch the list of pull requests for a specified GitHub repository.

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

get the pull request from {the repository source}

What does it do? Fetch the list of pull requests for a specified GitHub repository.

Where does it go? This is the base syntax for the procedure.

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — This phrase requires a value for the repository source.

the number is

What does it do? Specifies the number of the pull request to fetch.

Where does it go? This phrase should be indented beneath get the pull request from {the repository source}

Is it required? ✅ Yes — This phrase is required in the syntax.

Does it require input data? ✅ Yes — a number value needs to be specified.

Example: the number is 123

Examples

1. Retrieve the list of open pull requests from a repository

get a pull request in "kognitos/bdk-api"
        the number is 1

Last updated

Was this helpful?