From 2e2a654c0143b4a691103a60c5fccef1573072b7 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 8 Oct 2026 07:27:43 -0700 Subject: [PATCH] fix(renovate): validate multiple preset files without multiline step output The file-detection step wrote a newline-separated list to GITHUB_OUTPUT via 'echo files=...', which GitHub rejects for multi-line values. Fold detection and validation into a single step so the file list is passed as command arguments. --- .github/workflows/renovate-config-validator.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/renovate-config-validator.yml b/.github/workflows/renovate-config-validator.yml index e28a03a..9eec670 100644 --- a/.github/workflows/renovate-config-validator.yml +++ b/.github/workflows/renovate-config-validator.yml @@ -39,8 +39,7 @@ jobs: with: node-version: "24" - - name: Determine files to validate - id: files + - name: Validate Renovate config env: INPUT_FILES: ${{ inputs.files }} run: | @@ -60,10 +59,7 @@ jobs: echo "No Renovate config or preset files found to validate." >&2 exit 1 fi - echo "Validating: ${FILES}" - echo "files=${FILES}" >> "$GITHUB_OUTPUT" - - - name: Validate Renovate config - run: >- - npx --yes --ignore-scripts --package renovate -- - renovate-config-validator --strict ${{ steps.files.outputs.files }} + echo "Validating:" + printf ' %s\n' ${FILES} + # shellcheck disable=SC2086 -- intentional word-splitting of the file list + npx --yes --ignore-scripts --package renovate -- renovate-config-validator --strict ${FILES}