(repoSlug string)
| 263 | } |
| 264 | |
| 265 | func explicitHostForRepo(repoSlug string) string { |
| 266 | if repoHost := getGitHubHostForRepo(repoSlug); repoHost != getGitHubHost() { |
| 267 | if u, parseErr := url.Parse(repoHost); parseErr == nil && u.Host != "" { |
| 268 | return u.Host |
| 269 | } |
| 270 | } |
| 271 | return "" |
| 272 | } |
| 273 | |
| 274 | func parseWorkflowSpec(spec string) (*WorkflowSpec, error) { |
| 275 | specLog.Printf("Parsing workflow spec: %q", spec) |
no test coverage detected