torzu/.ci/templates/mergebot.yml

16 lines
707 B
YAML
Raw Normal View History

2019-07-14 03:34:40 +02:00
parameters:
matchLabel: 'dummy-merge'
steps:
- script: mkdir $(System.DefaultWorkingDirectory)/patches && pip install requests urllib3
displayName: 'Prepare Environment'
- script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh
displayName: 'Apply Git Configuration'
- task: PythonScript@0
displayName: 'Discover, Download, and Apply Patches'
inputs:
scriptSource: 'filePath'
scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
2019-10-03 00:51:17 +02:00
arguments: '${{ parameters.matchLabel }} Tagged patches'
2019-07-14 03:34:40 +02:00
workingDirectory: '$(System.DefaultWorkingDirectory)'