From 0998f6e61a276e14e12ba521c3d4559fe19ee2b0 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Tue, 22 Jul 2025 16:43:03 -0700 Subject: [PATCH] Switch back to using the unofficial templates for PRs They want us to split the PRs out into a separate pipeline that will have different capabilities (ie we can't sign from a PR pipeline). That needs to run on unofficial 1ES templates so the easiest way to do this is just add the conditional back. --- .vsts-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index dcc5b77d1b9e..df58ec2eb3aa 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -54,7 +54,10 @@ resources: ref: refs/tags/release extends: - template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines + ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: + template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines + ${{ else }}: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines parameters: sdl: sourceAnalysisPool: