Skip to content

Conversation

@webknjaz
Copy link
Member

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.

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)
@webknjaz
Copy link
MemberAuthor

I've made a "demo PR" that should help verify that the fix is functional. It's here: #105153.

@webknjaz
Copy link
MemberAuthor

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

@webknjazwebknjaz requested a review from hugovkJune 4, 2023 21:16
@webknjaz
Copy link
MemberAuthor

@hugovk I think this needs skip issue and skip news too.

webknjazand others added 2 commits June 5, 2023 23:22
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Copy link
Member

@hugovkhugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hugovkhugovk merged commit eaa6702 into python:mainJun 21, 2023
webknjaz added a commit to webknjaz/cpython that referenced this pull request Jul 22, 2023
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit eaa6702)
webknjaz added a commit to webknjaz/cpython that referenced this pull request Jul 22, 2023
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit eaa6702)
ambv pushed a commit that referenced this pull request Jul 23, 2023
…) (#107043) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>. (cherry picked from commit 88d14da) (cherry picked from commit eaa6702)
ambv pushed a commit that referenced this pull request Jul 23, 2023
…) (#107042) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 88d14da) (cherry picked from commit eaa6702)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@webknjaz@hugovk@bedevere-bot