diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c50ee0ab6..ee38b04e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -65,3 +65,8 @@ jobs: # Sandbox each test executing based on the Azure agent name. Those are # Azure Pipelines 1-10 SHOTGUN_TEST_ENTITY_SUFFIX: '$(Agent.Name)' + +- ${{ if and(not(endsWith( variables['System.PullRequest.SourceBranch'], '-automated')), ne(variables['Build.SourceBranch'], 'refs/heads/master'), not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))) }}: + - template: resources/python/pipelines/pipelines.yml + parameters: + branch: $(System.PullRequest.SourceBranch)-automated