()
| 705 | } |
| 706 | |
| 707 | func (b *InteractiveWorkflowBuilder) generateSafeOutputsConfig() string { |
| 708 | if len(b.SafeOutputs) == 0 { |
| 709 | return "" |
| 710 | } |
| 711 | |
| 712 | var config strings.Builder |
| 713 | config.WriteString("safe-outputs:\n") |
| 714 | |
| 715 | for _, output := range b.SafeOutputs { |
| 716 | fmt.Fprintf(&config, " %s:\n", output) |
| 717 | } |
| 718 | |
| 719 | return config.String() |
| 720 | } |
| 721 | |
| 722 | func (b *InteractiveWorkflowBuilder) describeTrigger() string { |
| 723 | switch b.Trigger { |
no test coverage detected