workflow.abort¶
Stop a reserved workflow: disarm, close its PR, tear its branch down.
Bare targets the only workflow in flight; with several, an
interactive run lists them and asks, a non-interactive run
refuses naming each. A live or unreadable workflow refuses
without --force, and a bare --force never sweeps several.
Ends by re-asserting the repository configuration, so an aborted
workflow that had moved settings forward cannot leave protection
demanding contexts that never report again.
| Parameter | Type | Default | Description |
|---|---|---|---|
--name=VALUE |
"" |
the workflow to stop; bare targets the only one in flight | |
--force |
flag | false |
tear down a live or unreadable workflow |