mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
|
parameters:
|
||
|
matchLabel: 'dummy-merge'
|
||
|
matchLabelPublic: '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'
|
||
|
arguments: '${{ parameters.matchLabelPublic }} patches-public'
|
||
|
workingDirectory: '$(System.DefaultWorkingDirectory)'
|
||
|
- task: PythonScript@0
|
||
|
displayName: 'Discover, Download, and Apply Patches'
|
||
|
inputs:
|
||
|
scriptSource: 'filePath'
|
||
|
scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
|
||
|
arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} patches-private'
|
||
|
workingDirectory: '$(System.DefaultWorkingDirectory)'
|