-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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 our terms of service and privacy 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
Use CSV-separated outputs @ get-changed-files @ CI #105151
Conversation
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]] [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 |
@hugovk I think this needs |
Co-authored-by: Hugo van Kemenade <[email protected]>
…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 <[email protected]> (cherry picked from commit eaa6702)
Co-authored-by: Hugo van Kemenade <[email protected]> (cherry picked from commit eaa6702)
…) (#107043) Co-authored-by: Sviatoslav Sydorenko <[email protected]> Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>. (cherry picked from commit 88d14da) (cherry picked from commit eaa6702)
…) (#107042) Co-authored-by: Sviatoslav Sydorenko <[email protected]> Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> (cherry picked from commit 88d14da) (cherry picked from commit eaa6702)
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.