Back to GithubMerge a pull request
Input
type: object
properties:
parameters:
type: object
properties:
owner:
type: string
description: The account owner of the repository. The name is not case sensitive.
repo:
type: string
description: The name of the repository. The name is not case sensitive.
pull_number:
type: integer
description: The number that identifies the pull request.
required:
- owner
- repo
- pull_number
title: Parameters
data:
type: object
properties:
commit_title:
type: string
description: Title for the automatic commit message.
commit_message:
type: string
description: Extra detail to append to automatic commit message.
sha:
type: string
description: SHA that pull request head must match to allow merge.
merge_method:
type: string
description: The merge method to use.
enum:
- merge
- squash
- rebase
title: Data
Output
type: object
title: Pull Request Merge Result
properties:
sha:
type: string
merged:
type: boolean
message:
type: string