Github API - Test Config

mutation createPullRequest

Create a new pull request

Arguments
input CreatePullRequestInput

CreatePullRequestInput [input]

Autogenerated input type of CreatePullRequest

Attributes
baseRefName String

The 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 String

The contents of the pull request.

clientMutationId String

A unique identifier for the client performing the mutation.

draft Boolean

Indicates whether this pull request should be a draft.

headRefName String

The name of the branch where your changes are implemented. For cross-repository pull requests
in the same network, namespace head_ref_name with a user like this: username:branch.

headRepositoryId ID

The Node ID of the head repository.

maintainerCanModify Boolean

Indicates whether maintainers can modify the pull request.

repositoryId ID

The Node ID of the repository.

title String

The title of the pull request.

API:
Github GraphQL API

Parameters for CreatePullRequest

Returns
CreatePullRequestPayload

CreatePullRequestPayload [object]

Autogenerated return type of CreatePullRequest

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

pullRequest PullRequest

The new pull request.

API:
Github GraphQL API
API:
Github GraphQL API