mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 12:57:52 +00:00
16 lines
700 B
YAML
16 lines
700 B
YAML
|
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'
|
||
|
arguments: '${{ parameters.matchLabel }} patches'
|
||
|
workingDirectory: '$(System.DefaultWorkingDirectory)'
|