Skip to content

Commit 0998f6e

Browse files
authored
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.
1 parent 0c5236e commit 0998f6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.vsts-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ resources:
5454
ref: refs/tags/release
5555

5656
extends:
57-
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
57+
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
58+
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
59+
${{ else }}:
60+
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
5861
parameters:
5962
sdl:
6063
sourceAnalysisPool:

0 commit comments

Comments
 (0)