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
# example url of tspconfig.yaml: https://github.com/Azure/azure-rest-api-specs-pr/blob/724ccc4d7ef7655c0b4d5c5ac4a5513f19bbef35/specification/containerservice/Fleet.Management/tspconfig.yaml
115
117
if ($TypeSpecProjectDirectory-match'^https://github.com/(?<repo>[^/]*/azure-rest-api-specs(-pr)?)/blob/(?<commit>[0-9a-f]{40})/(?<path>.*)/tspconfig.yaml$') {
@@ -147,7 +149,7 @@ if ($TypeSpecProjectDirectory -match '^https://github.com/(?<repo>[^/]*/azure-re
147
149
}
148
150
149
151
if ($RepoUrl) {
150
-
if ($RepoUrl-match"^https://github.com/(?<repo>[^/]*/azure-rest-api-specs(-pr)?).*") {
152
+
if ($RepoUrl-match"^(https://github.com/|git@github.com:)(?<repo>[^/]*/azure-rest-api-specs(-pr)?).*") {
151
153
$repo=$Matches["repo"]
152
154
}
153
155
else {
@@ -193,26 +195,34 @@ if ($generateFromLocalTypeSpec) {
0 commit comments