A vibe coded tangled fork which supports pijul.
at 688e2c8d6158ed55f40d36b3b7ee8d41799b26aa 28 lines 417 B view raw
1package models 2 3type Pipeline struct { 4 RepoOwner string 5 RepoName string 6 Workflows map[Engine][]Workflow 7} 8 9type Step interface { 10 Name() string 11 Command() string 12 Kind() StepKind 13} 14 15type StepKind int 16 17const ( 18 // steps injected by the CI runner 19 StepKindSystem StepKind = iota 20 // steps defined by the user in the original pipeline 21 StepKindUser 22) 23 24type Workflow struct { 25 Steps []Step 26 Name string 27 Data any 28}