CI: Fix patchcheck (GH-31708)

This commit is contained in:
Hugo van Kemenade 2022-03-14 15:28:57 +02:00 committed by GitHub
parent bb1c543f4a
commit 23abae621f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -66,7 +66,9 @@ steps:
COMMAND: make
- ${{ if eq(parameters.patchcheck, 'true') }}:
- script: ./python Tools/scripts/patchcheck.py --ci true
- script: |
git fetch origin
./python Tools/scripts/patchcheck.py --ci true
displayName: 'Run patchcheck.py'
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))