Skip to content

Commit b56b1b3

Browse files
authored
Set condition for localization stage (#22889)
1 parent 4e6e475 commit b56b1b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/devops/automation/build-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ extends:
138138

139139
- template: localization/v1.yml@yaml-templates
140140
parameters:
141+
condition: endsWith(coalesce(variables['System.PullRequest.SourceBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'main')
141142
preSteps:
142143
- template: ../sdk-unified/steps/checkout/v1.yml@yaml-templates
143144
parameters:

0 commit comments

Comments
 (0)