Porcelain for runs: list, view, logs, watch, cancel, delete, and dispatch #27
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jeff/zfj#27
Loading…
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?
Work with a repository's runs from the command line, the way
gh runandgh workflow rundo, instead of throughzfj opand run IDs. The terms are in GLOSSARY.md under Forgejo Actions.Decided
originor-R, and dispatching a workflow. Artifacts, secrets, variables and runners — and the org, user and admin operations — stay withzfj opfor now.gh:zfj run list|view|watch|cancel|deleteandzfj workflow run <file>.listActionRuns --run_number, and--jsoncarries both. Seedocs/adr/0005-runs-are-named-by-run-number.md. A run number is always required: there is no "latest run" default, since one commit can start several runs. A number the repository does not have exits 1, sayingno run 43 in jeff/zfj.cancelanddeleteact at once.--exit-statusonviewandwatchexits 5 when the run ended in anything butsuccess; 5 joins 0–4 in the usage text and README.workflow rundispatches on the repository's default branch unless--refsays otherwise, and prints the new run's number and URL.Tickets
All six tickets landed on main in cf1d198..373ef7e.