Fix e4cc06f67: [AzurePipelines] rebase only for PRs

This commit is contained in:
glx 2019-03-10 00:44:21 +01:00 committed by glx22
parent e4cc06f67e
commit 26b0615c47

View File

@ -5,5 +5,6 @@ steps:
- bash: |
git config user.email 'info@openttd.org'
git config user.name 'OpenTTD CI'
git rebase origin/$SYSTEM_PULLREQUEST_TARGETBRANCH
git rebase origin/${SYSTEM_PULLREQUEST_TARGETBRANCH}
displayName: 'Rebase to $(System.PullRequest.TargetBranch)'
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))