diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 73899815c33..c116b47d4f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1056,7 +1056,7 @@ jobs: - job: CheckHeaders displayName: "Check License, History, and DocMap" - + condition: and(not(contains(variables['Build.SourceBranch'], 'lts')), not(contains(variables['System.PullRequest.TargetBranch'], 'lts'))) pool: name: ${{ variables.ubuntu_pool }} steps: