Skip to content

Commit

Permalink
Use official templates even for PRs when run internal
Browse files Browse the repository at this point in the history
New template guidance is that a production pipeline can only use the official templates. Rather than creating a completely separate PR pipeline, we'll use the official templates.
  • Loading branch information
marcpopMSFT authored Jan 29, 2025
1 parent 335a66e commit 987167e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ parameters:
- buildConfig: Release

extends:
${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
${{ else }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
sdl:
sourceAnalysisPool:
Expand Down

0 comments on commit 987167e

Please sign in to comment.