Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Use CSV-separated outputs @ get-changed-files @ CI#105151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Use CSV-separated outputs @ get-changed-files @ CI#105151
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This is necessary because paths with whitespaces tend to crash saidaction[[1]][[2]][[3]]. Also, we don't need to use JSON as it's harderto parse while the value isn't used except for the emptiness check.The change fixes [[4]][1]:https://github.com/Ana06/get-changed-files#get-all-changed-files-as-space-delimited[2]:python#103914 (comment)[3]:python#103914 (comment)[4]:python#103914 (comment)
I've made a "demo PR" that should help verify that the fix is functional. It's here:#105153. |
UPD: it does work —https://github.com/python/cpython/actions/runs/5135145133/jobs/9240164159?pr=105153#step:5:17 cc@hugovk |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
@hugovk I think this needs |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…6--get-changed-files--output-format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks!
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>(cherry picked from commiteaa6702)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>(cherry picked from commiteaa6702)
This is necessary because paths with whitespaces tend to crash said
action[1][2][3]. Also, we don't need to use JSON as it's harder
to parse while the value isn't used except for the emptiness check.
The change fixes [4]. It also reverts commit 4c77061.