Skip to main content

github.updatepullrequestprops

Home > @runlightyear/github > UpdatePullRequestProps

UpdatePullRequestProps interface

This is a description of these props

Signature:
interface UpdatePullRequestProps 

Required Properties

PropertyModifiersTypeDescription
ownerstringThe account owner of the repository. The name is not case sensitive.
pullNumbernumberThe number that identifies the pull request.
repostringThe name of the repository. The name is not case sensitive.

Optional Properties

PropertyModifiersTypeDescription
base?stringThe name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository.
body?stringThe contents of the pull request.
maintainerCanModify?booleanIndicates whether maintainers can modify the pull request.
state?"open" | "closed"State of this Pull Request. Either open or closed.
title?stringThe title of the pull request.