POST
github_repos_merge_branches.py
from charter.packs import github
result = await github.repos_merge_branches.ainvoke({"owner": ..., "repo": ..., "base": ..., "head": ...})
Requires
repo, read:user.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
Body
| Field | Type | Description |
|---|---|---|
base * | string | The name of the base branch that the head will be merged into. |
head * | string | The head to merge. This can be a branch name or a commit SHA1. |
commitMessage | string | Commit message to use for the merge commit. If omitted, a default message will be used. |