From fb036a82a5536149cdc5116fb0525d42cfdcc4d4 Mon Sep 17 00:00:00 2001 From: Andriy Svyryd Date: Thu, 16 Feb 2023 18:37:36 -0800 Subject: [PATCH] Index source code to source.dot.net --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 996ba48a44c..f6c5d7c09da 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -79,6 +79,7 @@ stages: enablePublishBuildAssets: ${{ ne(variables.runCodeQL3000, 'true') }} enablePublishUsingPipelines: ${{ variables._PublishUsingPipelines }} publishAssetsImmediately: true + enableSourceIndex: ${{ and(ne(variables['System.TeamProject'], 'public'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }} enableTelemetry: true helixRepo: dotnet/efcore jobs: