From d9c5ac0870c64a4e8b1d1f0664bb9fd24df5fefe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emek=20Vysok=C3=BD?= Date: Tue, 20 Dec 2022 11:44:51 +0100 Subject: [PATCH] Fix branch filters for the VMR synchronization (#15156) --- eng/pipelines/templates/jobs/vmr-synchronization.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/vmr-synchronization.yml b/eng/pipelines/templates/jobs/vmr-synchronization.yml index 364b149bc..aba326c8a 100644 --- a/eng/pipelines/templates/jobs/vmr-synchronization.yml +++ b/eng/pipelines/templates/jobs/vmr-synchronization.yml @@ -53,7 +53,7 @@ jobs: # For official builds, push the changes to the VMR # Push only main and release branches - - ${{ if and(not(parameters.noPush), or(eq(parameters.vmrBranch, 'main'), startswith(parameters.vmrBranch, 'refs/heads/release/'), startswith(parameters.vmrBranch, 'release/')), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}: + - ${{ if and(not(parameters.noPush), or(eq(parameters.vmrBranch, 'main'), eq(parameters.vmrBranch, 'refs/heads/main'), startswith(parameters.vmrBranch, 'refs/heads/release/'), startswith(parameters.vmrBranch, 'release/')), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}: - script: | set -x git config --global user.email 'dotnet-maestro[bot]@users.noreply.github.com' && git config --global user.name 'dotnet-maestro[bot]'