POST
github_pulls_create_review.py
from charter.packs import github
result = await github.pulls_create_review.ainvoke({"owner": ..., "repo": ..., "pullNumber": ..., "event": ...})
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 |
|---|---|---|
event * | ReviewEvent | Whether to approve, request changes, or just comment. |
body | string | The review text. Required when requesting changes or commenting, optional when approving. |
commitId | string | The commit to review. Absent, the most recent one. |
comments | ReviewComment[] | Inline comments to leave on specific lines. |