pause_workflow
Writes "state": "paused" into a workflow’s file on branch. Typed inside bash, where help pause_workflow prints the same.
Usage: pause_workflow HANDLE BRANCH [options]
Writes `"state": "paused"` into a workflow's file on `branch`. Oncemerge_branch puts it live, its trigger starts no more runs; a runalready started finishes.
Options: --handle TEXT (required) The workflow's handle, as list_workflows names it: its file is workflows/<handle>.json. Lower-case letters and digits, words joined by _. --branch TEXT (required) The branch to write workflows/<handle>.json on, made with git switch -c. Nothing changes until merge_branch puts it live. --message TEXT What the change is, in a line. Defaults to naming the files. --json OBJECT Every argument at once, as one JSON object; --json - reads it from stdin.