Fix branch filters for the VMR synchronization (#15156)
This commit is contained in:
parent
8750a90545
commit
d9c5ac0870
1 changed files with 1 additions and 1 deletions
|
@ -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]'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue