diff options
Diffstat (limited to 'azure-pipelines/templates/ci-git-rebase.yml')
-rw-r--r-- | azure-pipelines/templates/ci-git-rebase.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/azure-pipelines/templates/ci-git-rebase.yml b/azure-pipelines/templates/ci-git-rebase.yml new file mode 100644 index 000000000..924302fee --- /dev/null +++ b/azure-pipelines/templates/ci-git-rebase.yml @@ -0,0 +1,9 @@ +steps: +# Rebase to origin/master for every PR. This means users don't have to +# rebase every time master changes. As long as the PR applies cleanly, we +# will validate it. +- script: | + git config user.email 'info@openttd.org' + git config user.name 'OpenTTD CI' + git rebase origin/master + displayName: 'Rebase to master' |