POST
github_actions_cancel_workflow_run.py
Requires
repo, read:user.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Ask GitHub to cancel a running workflow. It answers once the request is accepted, not once the run has stopped, so confirm by listing runs again.
from charter.packs import github
result = await github.actions_cancel_workflow_run.ainvoke({"owner": ..., "repo": ..., "runId": ...})
repo, read:user.| 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. |
Was this page helpful?