List pull requests
list_pull_requestsList open pull requests for a repository as PR numbers and titles, paged up to 50 per page. Use it to find a PR branch before checking CI.
Instructions
Lists open pull requests of a repository as reported by its forge, as index (the PR number) and title, paged (up to 50 per page). To check CI for one, call list_pipelines with event=pull_request and the PR's branch, or get_pipeline with number="latest" and that branch. An empty list can also mean the forge does not support listing pull requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1). | |
| repo | Yes | Repository as "owner/name" (e.g. "acme/webapp") or a numeric Woodpecker repo id. | |
| instance | Yes | Woodpecker instance name. Configured instances: default. | |
| per_page | No | Results per page (default 50, max 50). |