summaryrefslogtreecommitdiffstats
path: root/.azure-pipelines/posix-steps.yml
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-14 13:28:57 (GMT)
committerGitHub <noreply@github.com>2022-03-14 13:28:57 (GMT)
commit23abae621f579014eb29d5c6621f031c8a1a4057 (patch)
tree8cd0b1853b92784a5356e096026e0a620d8d051a /.azure-pipelines/posix-steps.yml
parentbb1c543f4a183f5cfdf15aad59f59094d50b37fd (diff)
downloadcpython-23abae621f579014eb29d5c6621f031c8a1a4057.zip
cpython-23abae621f579014eb29d5c6621f031c8a1a4057.tar.gz
cpython-23abae621f579014eb29d5c6621f031c8a1a4057.tar.bz2
CI: Fix patchcheck (GH-31708)
Diffstat (limited to '.azure-pipelines/posix-steps.yml')
-rw-r--r--.azure-pipelines/posix-steps.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.azure-pipelines/posix-steps.yml b/.azure-pipelines/posix-steps.yml
index 2a36808..29b43e0 100644
--- a/.azure-pipelines/posix-steps.yml
+++ b/.azure-pipelines/posix-steps.yml
@@ -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'))