diff --git a/eng/enforce-issue.ps1 b/eng/enforce-issue.ps1
index c27e3d2481..5b9bb1babe 100644
--- a/eng/enforce-issue.ps1
+++ b/eng/enforce-issue.ps1
@@ -28,10 +28,14 @@ elseif ($prDetail.title -match "\[automated\]") {
$hasIssue = $prDetail.body -Match "github\.com/dotnet/(.+)/issues/(\d+)"
if (-not $hasIssue) {
# Or for https://dev.azure.com/dnceng/internal/_workitems/edit/45126
- $hasIssue = $prDetail.body -Match "dev\.azure\.com/dnceng/internal/_workitems"
+ $hasIssue = $prDetail.body -Match "dev\.azure\.com/(.+)/(.+)/_workitems"
if (-not $hasIssue) {
- Write-Host "##vso[task.LogIssue type=error;]Link to the corresponding GitHub/AzDO issue is missing in the PR description. Check failed."
- exit 1
+ # Or for https://dev.azure.com/dnceng/internal/_workitems/edit/12345
+ $hasIssue = $prDetail.body -Match "(.+)\.visualstudio\.com/(.+)/_workitems"
+ if (-not $hasIssue) {
+ Write-Host "##vso[task.LogIssue type=error;]Link to the corresponding GitHub/AzDO issue is missing in the PR description. Check failed."
+ exit 1
+ }
}
}
diff --git a/src/Maestro/Maestro.Web/Maestro.Web.csproj b/src/Maestro/Maestro.Web/Maestro.Web.csproj
index 1a4a401e0f..024352e531 100644
--- a/src/Maestro/Maestro.Web/Maestro.Web.csproj
+++ b/src/Maestro/Maestro.Web/Maestro.Web.csproj
@@ -45,6 +45,9 @@
+
+
+
/,{relevance:10}),{begin://,relevance:10},a,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/