Give each workflow run a parent task with no agent
This commit is contained in:
@@ -661,7 +661,7 @@ private struct MergeButton: View {
|
||||
? "Waiting for the merge in progress in this project to finish"
|
||||
: task.mergeAfterReview
|
||||
? "Merges when the running review finishes with no findings; open to merge now instead (⌘S)"
|
||||
: task.parentTaskId != nil
|
||||
: task.parentTaskId != nil && task.workflowStage == nil
|
||||
? "Merge this subtask into its parent task's branch, or into \(target) (⌘S)"
|
||||
: "The agent merges \(target) in, then byre squashes into one commit on \(target) and pushes it to origin; held while another task in the project is merging (⌘S)"
|
||||
Button(intoParent ? "Merging into parent" : held ? "Merge held" : task.mergeAfterReview ? "Merge after review" : keepOpen == false ? "Merge & complete" : "Merge") {
|
||||
|
||||
Reference in New Issue
Block a user