diff --git a/eng/pipeline.yml b/eng/pipeline.yml index 94b8c9dd357..3dfe391e1e0 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -10,10 +10,10 @@ parameters: repoName: dotnet/wpf jobs: -- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: +- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}: - template: /eng/common/templates/job/onelocbuild.yml parameters: - CreatePr: false + MirrorRepo: wpf LclSource: lclFilesfromPackage LclPackageId: 'LCL-JUNO-PROD-WPF' - template: /eng/common/templates/jobs/jobs.yml