Tool

Update pull request

The Update Pull Request tool streamlines managing GitHub pull requests by allowing users to modify existing pull requests directly within their repositories. It simplifies tasks such as changing base branches, updating descriptions, managing reviewers, and adjusting the pull request state efficiently.

GitHub

Features

  • Update the title and description of an existing pull request to keep information current.
  • Change the base branch for the pull request to reflect new code targets.
  • Mark pull requests as draft or ready for review to control workflow stages.
  • Assign or remove reviewers easily by specifying GitHub usernames.
  • Open or close pull requests and allow maintainers to modify the request as needed.

Benefits

  • Enhances collaboration by keeping pull request information accurate and up to date.
  • Saves time by enabling quick edits without needing to create new pull requests.
  • Improves project management with flexible control over pull request statuses.
  • Facilitates code review workflows by managing reviewers efficiently.
  • Empowers maintainers to contribute to improvements, ensuring quality and consistency.

Description

Update an existing pull request in a GitHub repository.

Parameters

10 parameters

NameTypeDescription
basestring

New base branch name

bodystring

New description

draftboolean

Mark pull request as draft (true) or ready for review (false)

maintainer_can_modifyboolean

Allow maintainer edits

ownerrequiredstring

Repository owner

pullNumberrequirednumber

Pull request number to update

reporequiredstring

Repository name

reviewersstring[]

GitHub usernames to request reviews from

stateenum

New state

titlestring

New title

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