Github API - Test Config

mutation mergePullRequest

Merge a pull request.

Arguments
input MergePullRequestInput

MergePullRequestInput [input]

Autogenerated input type of MergePullRequest

Attributes
authorEmail String

The email address to associate with this merge.

clientMutationId String

A unique identifier for the client performing the mutation.

commitBody String

Commit body to use for the merge commit; if omitted, a default message will be used

commitHeadline String

Commit headline to use for the merge commit; if omitted, a default message will be used.

expectedHeadOid GitObjectID

OID that the pull request head ref must match to allow merge; if omitted, no check is performed.

The merge method to use. If omitted, defaults to 'MERGE'

pullRequestId ID

ID of the pull request to be merged.

API:
Github GraphQL API

Parameters for MergePullRequest

Returns
MergePullRequestPayload

MergePullRequestPayload [object]

Autogenerated return type of MergePullRequest

Attributes
actor Actor

Identifies the actor who performed the event.

clientMutationId String

A unique identifier for the client performing the mutation.

pullRequest PullRequest

The pull request that was merged.

API:
Github GraphQL API
API:
Github GraphQL API