Skip to main content

Create pull request

Propose merging one branch into another.

Command in the GitHub toolkit · id ooa.github/create_pull_request · 9 inputs (6 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://api.github.comAPI address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3.
TokenCredentialYesPersonal access token or app token from the vault, with access to the repository. Or leave it empty and choose a connection that signs in, which gets and renews the token.
OwnerStringYesUser or organization that owns the repository, e.g. acme-corp.
RepoStringYesRepository name without the owner, e.g. billing-service.
TitleStringYesTitle of the pull request.
Source branchStringYesBranch with the changes. For a fork use owner:branch.
Target branchStringYesBranch to merge into.
BodyStringNoDescription in Markdown.
DraftBooleanNofalseOpen as a draft that cannot be merged yet.

Outputs​

OutputTypeWhat it is
numberNumberPull request number.
urlStringWeb address of the pull request.