(resolvedWorkflows []string, targetRepo string, verbose bool)
| 257 | } |
| 258 | |
| 259 | func createDeployPR(resolvedWorkflows []string, targetRepo string, verbose bool) error { |
| 260 | prTitle, prBody := buildDeployPRMetadata(resolvedWorkflows, targetRepo) |
| 261 | _, err := CreatePRWithChanges("deploy-workflows", deployCommitMessage, prTitle, prBody, verbose) |
| 262 | if err != nil { |
| 263 | return fmt.Errorf("failed to create deploy pull request: %w", err) |
| 264 | } |
| 265 | return nil |
| 266 | } |
| 267 | |
| 268 | // resolveDeployWorkflowSpecs rewrites relative local workflow specs to be anchored |
| 269 | // to the caller's original working directory before deploy switches into checkoutDir. |
no test coverage detected