Add fj workflow enable/disable/view #185

Merged
stephen merged 1 commit from feat/workflow-enable-disable into main 2026-06-17 19:00:26 +00:00
Owner

Adds fj workflow enable, fj workflow disable, and fj workflow view so a workflow can be paused without editing YAML. Wires three new WorkflowSub variants to enable_workflow/disable_workflow/get_workflow API wrappers (PUT actions/workflows/{file}/enable|disable; GET for view, with --json). Factors the inline dispatch field parsing into a shared parse_workflow_fields helper and drops workflow from COV_IGNORE now that the module carries tested helpers. Closes #167.

Adds `fj workflow enable`, `fj workflow disable`, and `fj workflow view` so a workflow can be paused without editing YAML. Wires three new `WorkflowSub` variants to `enable_workflow`/`disable_workflow`/`get_workflow` API wrappers (PUT actions/workflows/{file}/enable|disable; GET for view, with `--json`). Factors the inline dispatch field parsing into a shared `parse_workflow_fields` helper and drops `workflow` from `COV_IGNORE` now that the module carries tested helpers. Closes #167.
Add workflow enable, disable, and view commands
All checks were successful
ci / check (pull_request) Successful in 9m29s
ci / coverage (pull_request) Successful in 1m58s
ci / live-e2e (pull_request) Successful in 1m45s
2a5a1bfa11
stephen force-pushed feat/workflow-enable-disable from 2a5a1bfa11
All checks were successful
ci / check (pull_request) Successful in 9m29s
ci / coverage (pull_request) Successful in 1m58s
ci / live-e2e (pull_request) Successful in 1m45s
to 981b13ed0c
Some checks failed
ci / coverage (pull_request) Has been cancelled
ci / live-e2e (pull_request) Has been cancelled
ci / check (pull_request) Has been cancelled
2026-06-17 18:45:39 +00:00
Compare
stephen force-pushed feat/workflow-enable-disable from 981b13ed0c
Some checks failed
ci / coverage (pull_request) Has been cancelled
ci / live-e2e (pull_request) Has been cancelled
ci / check (pull_request) Has been cancelled
to ba1c8ef98a
All checks were successful
ci / check (pull_request) Successful in 9m45s
ci / live-e2e (pull_request) Successful in 1m54s
ci / coverage (pull_request) Successful in 2m1s
2026-06-17 18:48:20 +00:00
Compare
stephen deleted branch feat/workflow-enable-disable 2026-06-17 19:00:26 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/fj!185
No description provided.