mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
11 lines
446 B
YAML
11 lines
446 B
YAML
steps:
|
|
# Rebase to target branch for every PR. This means users don't have to
|
|
# rebase every time target branch changes. As long as the PR applies cleanly, we
|
|
# will validate it.
|
|
- bash: |
|
|
git config user.email 'info@openttd.org'
|
|
git config user.name 'OpenTTD CI'
|
|
git rebase origin/${SYSTEM_PULLREQUEST_TARGETBRANCH}
|
|
displayName: 'Rebase to target branch'
|
|
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
|