Repository navigation
fix: pass changed README files to create-pull-request one per line - #36
Merged
Merged
Conversation
add-paths splits on newlines or commas. The readme step returned a space-separated list, so when more than one file changed, git add got "README.md src/README.md" as one path and the job failed.
|
These changes were released in v3.2.0. |
goruha
approved these changes
Nov 12, 2026
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.
what
filesoutput to thereadmestep: the changed files, one per line.add-pathsin theCreate Pull Requeststep.fileand thereadme_fileoutput do not change. They stay space-separated, becausegit-auto-commitfile_pattern(commit_method: commit) needs that.why
peter-evans/create-pull-requestsplitsadd-pathson newlines or commas. Thereadmestep returned a space-separated list (${files// / }replaced a space with a space).commit_method: pr,git addgotREADME.md src/README.mdas one path and failed withfatal: pathspec ... did not match any files.README.mdandsrc/README.mdare both new or changed. The README job fails, socomponent / cifails and no release is cut.references
@v3. After merge, move thev3tag to the new release so all repos get the fix.🤖 Generated with Claude Code
https://claude.ai/code/session_01JW9Go7ujHrXLWGtnmbgynt