Ask each last workflow stage to merge as soon as it finishes
This commit is contained in:
@@ -689,9 +689,9 @@ func quoteList(names []string) string {
|
||||
func lastStageText(def api.WorkflowDefinition) string {
|
||||
ends := workflow.Ends(def)
|
||||
if len(ends) == 1 {
|
||||
return "This is the workflow's last stage: the workflow finishes when this turn ends, and byre discards its other stage tasks."
|
||||
return "This is the workflow's last stage: the workflow finishes when this turn ends, byre discards its other stage tasks, and once the review of your latest work has come back, byre asks whether this task is ready to merge."
|
||||
}
|
||||
return fmt.Sprintf("This is one of the workflow's last stages (%s): the workflow finishes once all of them have, and byre then discards its other stage tasks, keeping each last stage's task.", quoteList(ends))
|
||||
return fmt.Sprintf("This is one of the workflow's last stages (%s): once the review of your latest work has come back, byre asks whether this task is ready to merge, without waiting for the others. The workflow finishes once all of them have, and byre then discards its other stage tasks, keeping each last stage's task.", quoteList(ends))
|
||||
}
|
||||
|
||||
func stageGuidance(frozen store.FrozenWorkflow, stage string) string {
|
||||
|
||||
Reference in New Issue
Block a user