Skip to content

Use CSV-separated outputs @ get-changed-files @ CI - #105151

Merged
hugovk merged 9 commits into
python:mainfrom
webknjaz:maintenance/gha-reusable-docs-workflow--Ana06--get-changed-files--output-format
Jun 21, 2023
Merged

hugovk merged 9 commits into
python:mainfrom
webknjaz:maintenance/gha-reusable-docs-workflow--Ana06--get-changed-files--output-format

Conversation

@webknjaz

Copy link
Copy Markdown
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.

webknjaz added 2 commits May 31, 2023 17:43
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
Copy Markdown
Member Author

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

@webknjaz

Copy link
Copy Markdown
Member Author

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

Comment thread .github/workflows/build.yml Resolved
Comment thread .github/workflows/reusable-docs.yml Resolved
Comment thread .github/workflows/reusable-docs.yml Resolved
Comment thread Doc/tools/touch-clean-files.py Resolved
@webknjaz
webknjaz requested a review from hugovk June 4, 2023 21:16
@webknjaz

webknjaz commented Jun 4, 2023

Copy link
Copy Markdown
Member Author

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

Comment thread Doc/tools/touch-clean-files.py Resolved
Comment thread Doc/tools/touch-clean-files.py Resolved
Comment thread .github/workflows/reusable-docs.yml Resolved
webknjaz and others added 2 commits June 5, 2023 23:22
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@hugovk
hugovk merged commit eaa6702 into python:main Jun 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants