fj workflow enable/disable (and view): pause a workflow without editing YAML #167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
fj workflowonly lists and dispatches. Stopping a flaky, noisy, or cost-heavy workflow means editing or deleting its file or using the web UI.Acceptance criteria
fj workflow disable <file|id>andfj workflow enable <file|id>(ForgejoPUT /repos/{}/actions/workflows/{id}/disable|/enable).fj workflow view <file|id>: state (active / disabled), path, declaredworkflow_dispatchinputs.fj workflow listgains a state column (active / disabled).Value
Pause cost and noise without code changes; see dispatch inputs before
workflow run.Priority
p2.
Dependencies / sequencing
None hard.
view's input display pairs with the shippedworkflow run -f.Overlap
None.
Blocked server-side on the current rasterhub.com Forgejo build: the workflow API routes needed for this task are not exposed. Probes returned 404 for GET /api/v1/repos/rasterstate/fj/actions/workflows, GET /api/v1/repos/rasterstate/fj/actions/workflows/ci.yml, OPTIONS /api/v1/repos/rasterstate/fj/actions/workflows/ci.yml/disable, and the encoded full-path variants. Leaving this open until the server exposes the enable/disable workflow endpoints.