POST
github_actions_review_pending_deployments.py
from charter.packs import github
result = await github.actions_review_pending_deployments.ainvoke({"owner": ..., "repo": ..., "runId": ..., "environmentIds": ..., "state": ..., "comment": ...})
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. |
runId * | integer | The ID of the workflow run. |
Body
| Field | Type | Description |
|---|---|---|
environmentIds * | integer[] | The list of environment ids to approve or reject. These are the environment.id values from actions_list_pending_deployments. |
state * | DeploymentReviewState | Whether to approve or reject deployment to the specified environments. |
comment * | string | A comment to accompany the deployment review. |