From ef728e9eda1df1b5c16167631b91162ae5458bcf Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:34:02 -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. (#6005) Co-authored-by: Scott Beddall --- 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 13ff963b4..09628b373 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"