JDBC Driver for GitHub

Build 24.0.9060

MergePullRequest

Merge a pull request.

Input

Name Type Description
PullRequestId String ID of the pull request to be merged.
CommitHeadline String Commit headline to use for the merge commit; if omitted, a default message will be used.
CommitBody String Commit body to use for the merge commit; if omitted, a default message will be used.
ExpectedHeadOid String OID that the pull request head ref must match to allow merge; if omitted, no check is performed.
MergeMethod String The merge method to use. If omitted, defaults to 'MERGE'.

The allowed values are MERGE, SQUASH, REBASE.

AuthorEmail String The email address to associate with this merge.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
PullRequestId String The ID of the pull request that was merged.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060