2 # Azure Pipielines YML file that evalues the patch series in a PR using the
3 # python script BaseTools/Scripts/PatchCheck.py.
5 # NOTE: This example monitors pull requests against the edk2-ci branch. Most
6 # environments would replace 'edk2-ci' with 'master'.
8 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 # https://github.com/tianocore
21 vmImage: 'ubuntu-latest'
27 - task: UsePythonVersion@0
33 git fetch origin $(System.PullRequest.TargetBranch):$(System.PullRequest.TargetBranch)
34 python BaseTools/Scripts/PatchCheck.py $(System.PullRequest.TargetBranch)..$(System.PullRequest.SourceCommitId)
35 displayName: 'Use PatchCheck.py to verify patch series in pull request'