PATCH
github_pulls_update.py
from charter.packs import github
result = await github.pulls_update.ainvoke({"owner": ..., "repo": ..., "pullNumber": ...})
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. |
pullNumber * | integer | The number that identifies the pull request. |
Body
| Field | Type | Description |
|---|---|---|
title | string | The new title. |
body | string | The new description. |
state | PullUpdateState | Whether the pull request is open or closed. |
base | string | The branch to merge into. It must already exist on this repository; a pull request cannot be repointed at another repository. |
maintainerCanModify | boolean | Whether maintainers can commit to the head branch. |