Fix PowerShell here-string indentation in vendor.yml

Replace indented here-strings inside if/else blocks with simple
string literals. PowerShell requires the "@" terminator to be at
column 0 in the script; when inside an indented block the YAML
base-indent stripping left 2 leading spaces, causing the parser
error "White space is not allowed before the string terminator".
This commit is contained in:
copilot-swe-agent[bot]
2026-06-14 11:39:57 +00:00
committed by GitHub
parent 9ad356ab16
commit d20d3d65aa

View File

@@ -155,17 +155,10 @@ jobs:
$count = [int]$env:COUNT_UPDATED $count = [int]$env:COUNT_UPDATED
if ($count -eq 0) { if ($count -eq 0) {
$summary = @" $summary = "### ✅ No Updates Available`n`nAll vendor dependencies are up to date! 🎉`n"
### ✅ No Updates Available
All vendor dependencies are up to date! 🎉
"@
} else { } else {
$word = if ($count -eq 1) { 'dependency' } else { 'dependencies' } $word = if ($count -eq 1) { 'dependency' } else { 'dependencies' }
$summary = @" $summary = "### 🔄 Updates Found`n`n"
### 🔄 Updates Found
"@
if ($count -eq 1) { if ($count -eq 1) {
$summary += '📦 **' + $env:SINGLE_DEP_NAME + '** updated from `' + $env:SINGLE_DEP_OLD_VERSION + '` to `' + $env:SINGLE_DEP_NEW_VERSION + '`' + "`n" + "`n" $summary += '📦 **' + $env:SINGLE_DEP_NAME + '** updated from `' + $env:SINGLE_DEP_OLD_VERSION + '` to `' + $env:SINGLE_DEP_NEW_VERSION + '`' + "`n" + "`n"
} else { } else {