Publish a flow
The community flows are not a folder in this repository and need no pull request. Any public GitHub repository with the topic cornercase-flow is listed.
Publish yours
Section titled “Publish yours”- Export the flow you made:
cornercase flow export 'My flow' > flow.toml. - Put it in a public repository, as
flow.tomlat the root (orcornercase-flow.toml). The repository’s description and topics are shown next to it; adescriptionin the flow is shown first. - Add the topic
cornercase-flowto the repository (the gear next to About). - Wait for the next refresh, scheduled every hour. The page lists the repository, its stars and the flow, and people import it with
cornercase flow import you/your-repo.
Try the file first with the cornercase you have: cornercase flow import ./flow.toml --name test, then cornercase flow list shows the flow with anything that stops it from running.
What gets listed
Section titled “What gets listed”A script reads the repositories with the topic on an hourly schedule, most starred first, and skips with a log line any that:
- has neither
flow.tomlnorcornercase-flow.tomlat its root, is a fork, or is archived; - has a file over 256 KiB or one cornercase cannot read, with no roles, an unknown agent, a role that is in no stage or a loop that goes back to a stage that does not exist;
- sets
envorargsin any role: a flow in the list may not; - is made by a newer cornercase (
versionabove 2), gives a role aworktreeother thansharedorown, gives the orchestrator a worktree of its own, has a role withworktree = "own"in a file that does not sayversion = 2, or runs two roles that edit the shared worktree side by side in one stage.
The list shows the flow as it was at the last refresh. Importing reads the repository’s current file, so what a reader imports can be newer than what the page showed; keep prompts honest, and a reader will not be surprised.
See Trust and security for what readers are told.