summaryrefslogtreecommitdiff
path: root/azure-pipelines/templates/ci-git-rebase.yml
diff options
context:
space:
mode:
authorglx22 <glx22@users.noreply.github.com>2019-03-10 11:42:53 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-03-10 10:42:53 +0000
commita1d028ea607f1b2018202581ca8db093064c19e8 (patch)
treedb0e25f1dc75958e5c21c11494345afa1eb60bb0 /azure-pipelines/templates/ci-git-rebase.yml
parent9cb84a1bad7f9e126e19d7702e76b999be155054 (diff)
downloadopenttd-a1d028ea607f1b2018202581ca8db093064c19e8.tar.xz
Fix: [AzurePipelines] Run commit checker only for PRs and pass it the target branch (#7356)
Diffstat (limited to 'azure-pipelines/templates/ci-git-rebase.yml')
-rw-r--r--azure-pipelines/templates/ci-git-rebase.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines/templates/ci-git-rebase.yml b/azure-pipelines/templates/ci-git-rebase.yml
index 514c66744..96a23a540 100644
--- a/azure-pipelines/templates/ci-git-rebase.yml
+++ b/azure-pipelines/templates/ci-git-rebase.yml
@@ -6,5 +6,5 @@ steps:
git config user.email 'info@openttd.org'
git config user.name 'OpenTTD CI'
git rebase origin/${SYSTEM_PULLREQUEST_TARGETBRANCH}
- displayName: 'Rebase to $(System.PullRequest.TargetBranch)'
+ displayName: 'Rebase to target branch'
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))