Repository navigation
fix(renovate): validate multiple preset files without multiline step output - #3
Merged
Merged
Conversation
…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.
setchy
marked this pull request as ready for review
October 8, 2026 14:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The validator workflow failed on PR #2 (which runs the workflow from
main):The "Determine files to validate" step wrote a newline-separated list to
$GITHUB_OUTPUTwithecho "files=...". GitHub's file-command format rejects multi-line values written that way — it only accepts the heredoc delimiter form.Fix
Fold file detection and validation into a single step, passing the file list directly as command arguments. No step output, so no multiline format issue. The auto-detection behaviour is unchanged:
filesinput → use itrenovate.json*/.renovaterc*→ validate those*.jsonVerification
Simulated the exact step logic locally under bash:
./default.json(only preset onmain)Config validated successfully against 2 file(s)(exit 0)Ordering
Unblocks #2. Should merge before (or with) #2. Draft pending review.