We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
foo
1 parent d4691aa commit 0b8d156Copy full SHA for 0b8d156
cli/azd/pkg/pipeline/github_provider.go
@@ -132,7 +132,7 @@ func (p *GitHubScmProvider) configureGitRemote(
132
}
133
134
// defines the structure of an ssl git remote
135
-var gitHubRemoteGitUrlRegex = regexp.MustCompile(`^git@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}:(.*?)(?:\.git)?$`)
+var gitHubRemoteGitUrlRegex = regexp.MustCompile(`^git@[a-zA-Z0-9.-_]+:(.*?)(?:\.git)?$`)
136
137
// defines the structure of an HTTPS git remote
138
var gitHubRemoteHttpsUrlRegex = regexp.MustCompile(`^https://(?:www\.)?[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/(.*?)(?:\.git)?$`)
0 commit comments