aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-14 15:28:57 +0200
committerGitHub <noreply@github.com>2022-03-14 15:28:57 +0200
commit23abae621f579014eb29d5c6621f031c8a1a4057 (patch)
tree8cd0b1853b92784a5356e096026e0a620d8d051a /.azure-pipelines
parentbpo-46987: Remove _PySys_GetObjectId / _PySys_GetObjectId (GH-31835) (diff)
downloadcpython-23abae621f579014eb29d5c6621f031c8a1a4057.tar.gz
cpython-23abae621f579014eb29d5c6621f031c8a1a4057.tar.bz2
cpython-23abae621f579014eb29d5c6621f031c8a1a4057.zip
CI: Fix patchcheck (GH-31708)
Diffstat (limited to '.azure-pipelines')
-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 2a368089730..29b43e09344 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'))