Tool

List pull requests

The List Pull Requests tool for GitHub enables users to efficiently retrieve and view pull requests within a specific repository. It offers versatile filtering and sorting options to help manage and track code contributions effectively.

GitHub

Features

  • Filter pull requests by base branch to focus on relevant development lines.
  • Sort pull requests by creation date, update time, popularity, or duration for better prioritization.
  • Paginate results with customizable page number and items per page, supporting up to 100 results at once.
  • Filter by state (open, closed, or all) to manage pull request workflow.
  • Filter by head user or organization and branch to pinpoint specific contributors or branches.

Benefits

  • Streamlines repository management by providing an organized view of pull requests.
  • Enhances team collaboration through easy tracking of code changes and updates.
  • Saves time by enabling users to quickly find relevant pull requests using multiple filter options.
  • Improves decision making with sortable and paginated data displays.
  • Supports continuous integration and delivery workflows by facilitating timely review and merge of pull requests.

Description

List pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.

Parameters

9 parameters

NameTypeDescription
basestring

Filter by base branch

directionenum

Sort direction

headstring

Filter by head user/org and branch

ownerrequiredstring

Repository owner

pagenumber

Page number for pagination (min 1)

perPagenumber

Results per page for pagination (min 1, max 100)

reporequiredstring

Repository name

sortenum

Sort by

stateenum

Filter by state

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy