From d68db39db172dbdb3d5a1890fe086c39d0a99425 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Thu, 19 Sep 2024 12:01:35 -0700 Subject: [PATCH] we need the condition to be set on populateScanPaths step. if we don't, and there are previous failures in the analyze pipeline, we won't properly invoke verify readmes. (#8998) --- eng/common/pipelines/templates/steps/verify-readmes.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/common/pipelines/templates/steps/verify-readmes.yml b/eng/common/pipelines/templates/steps/verify-readmes.yml index 13ff963b437..09628b37389 100644 --- a/eng/common/pipelines/templates/steps/verify-readmes.yml +++ b/eng/common/pipelines/templates/steps/verify-readmes.yml @@ -29,6 +29,7 @@ steps: $scanPaths = $paths -join "," Write-Host "##vso[task.setvariable variable=ScanPathArgument;]$scanPaths" displayName: Populate Scan Paths + condition: ${{ parameters.Condition }} - task: PowerShell@2 displayName: "Verify Readmes"