You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Fprintf(out, " 2. Your workflows depend on %d secret(s) and %d variable(s) which need to be imported from GitHub:\n", len(detectedSecrets), len(detectedVariables))
645
+
fmt.Fprintf(out, " 1. Your workflows depend on %d secret(s) and %d variable(s) which need to be imported from GitHub:\n", len(detectedSecrets), len(detectedVariables))
651
646
fmt.Fprintln(out, " - Import them automatically with `depot ci migrate secrets-and-vars`")
652
647
fmt.Fprintln(out, " - Or import them manually with `depot ci secrets add` and `depot ci vars add`")
648
+
ifdefaultBranch!="" {
649
+
fmt.Fprintf(out, " 2. Activate these workflows by pushing and merging them into %s\n", bold.Render(defaultBranch))
650
+
} else {
651
+
fmt.Fprintln(out, " 2. Activate these workflows by pushing and merging them into your default branch")
652
+
}
653
+
} else {
654
+
ifdefaultBranch!="" {
655
+
fmt.Fprintf(out, " Activate these workflows by pushing and merging them into %s\n", bold.Render(defaultBranch))
656
+
} else {
657
+
fmt.Fprintln(out, " Activate these workflows by pushing and merging them into your default branch")
0 commit comments