Actions56
- Repository Actions
- Issue Actions
- Pull Request Actions
- Organization Actions
- User Actions
- Comment Actions
- Label Actions
- Milestone Actions
- Release Actions
- Branch Actions
- File Actions
Pull Request → List
AI-generatedSummary
List pull requests in a specified repository with optional filters for state, labels, milestone, sorting, and limiting the number of results.
Inputs
- Authentication — Choose between Access Token or OAuth2 authentication methods.
- Owner (required) — The username or organization name that owns the repository.
- Repository Name (required) — The name of the repository to list pull requests from.
- Additional Fields — Optional filters and parameters including Labels (filter by comma-separated labels), Limit (maximum number of results to return, minimum 1), Milestone (filter by milestone ID or name), Sort (criteria to sort results by: Created, Oldest, Priority, or Updated), and State (filter by state of pull requests: All, Closed, or Open).
Output shape
a list of pull request objects, each returned separately as JSON in individual elements of the output array
The operation returns an array of pull request data objects matching the filters applied. Pagination is handled internally, fetching all available items up to the specified limit if provided. If no pull requests are found, an empty list is returned.