Closed TimatGDC closed 1 week ago
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.
Hi @TimatGDC, if you use parenthesis ()
in the folder name, you would need to set safe_output
to false
to prevent unsafe shell characters from being escaped.
Oh you're right, did not see that one. I was searching for "escaping" in the doc, and not "sanitize", my bad 😅 . Thanks for the help
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
I was trying to run the workflow using your matrix example:
The goal is to list only the changed file in this PR.
My team uses Next.js, and as a convention, it generate folder with parenthesis. See here. But, when i test it, i ran into an issue:
Bad JSON escape sequence
To Reproduce
(auth)
Bad JSON escape sequence
error due to the escaped parenthesis in the path of the folderWhat OS are you seeing the problem on?
ubuntu-24.04
Expected behavior?
In the list of changed files:
.github/workflows/\(folder\)/testfile.txt"
should be.github/workflows/(folder)/testfile.txt"
Relevant log output
Has all relevant logs been included?
Anything else?
No response
Code of Conduct