diff --git a/internal/graph/workflow.go b/internal/graph/workflow.go index defd611..15c11e0 100644 --- a/internal/graph/workflow.go +++ b/internal/graph/workflow.go @@ -112,7 +112,7 @@ func (w Workflow) Check() error { if f.Len() == 0 { err = multierr.Append(err, fmt.Errorf("[%s] chain does not make references", item.AMID())) } - if t.Len() == 0 { + if t.Len() == 0 && !item.src.Start { err = multierr.Append(err, fmt.Errorf("[%s] chain is not referenced", item.AMID())) } }