From bc738bd8e16030a902a3df386dbb0b47b397c786 Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Wed, 27 Nov 2024 12:22:10 -0800 Subject: [PATCH 1/2] ensure that we collect ci.yml below the sdk/ level --- eng/scripts/Language-Settings.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index e6784efa94a04..e968789930e25 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -29,7 +29,7 @@ function Get-AllPackageInfoFromRepo([string]$serviceDirectory = $null) { if ($serviceDirectory) { $searchPath = Join-Path $sdkRoot $serviceDirectory Write-Host "searchPath=$searchPath" - [array]$ymlFiles = Get-ChildItem -Path $searchPath "ci*.yml" | Where-Object { $_.PSIsContainer -eq $false} + [array]$ymlFiles = Get-ChildItem -R -Path $searchPath "ci*.yml" | Where-Object { $_.PSIsContainer -eq $false} } else { # The reason for the exclude folders are POM only releases (nothing is built) or # the service directory sits outside of the engineering system From 2df263aed8371560ddc8c9749fa14d7c15c4f257 Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Wed, 27 Nov 2024 12:24:54 -0800 Subject: [PATCH 2/2] match the argument format of the rest of the script --- eng/scripts/Language-Settings.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index e968789930e25..81d436ebb45ca 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -29,7 +29,7 @@ function Get-AllPackageInfoFromRepo([string]$serviceDirectory = $null) { if ($serviceDirectory) { $searchPath = Join-Path $sdkRoot $serviceDirectory Write-Host "searchPath=$searchPath" - [array]$ymlFiles = Get-ChildItem -R -Path $searchPath "ci*.yml" | Where-Object { $_.PSIsContainer -eq $false} + [array]$ymlFiles = Get-ChildItem -Recurse -Path $searchPath "ci*.yml" | Where-Object { $_.PSIsContainer -eq $false} } else { # The reason for the exclude folders are POM only releases (nothing is built) or # the service directory sits outside of the engineering system