Skip to content

Conversation

@hugovk
Copy link

@hugovk hugovk commented Jun 1, 2023

This PR updates python#105151 to allow Doc/tools/touch-clean-files.py to take a --clean parameter, which is a comma-separated list of files to touch.

This means we can use https://github.com/Ana06/get-changed-files with paths containing spaces.

Demo PR:

With added commit with two changed docs files, one with a space in the path:

First action check:

Second action check:

Second action output is used here, the two files are touched:

Touching:
Doc/about.rst
Doc/tools/touch-clean-files.py
Touched 2 files

📚 Documentation preview 📚: https://cpython-previews--168.org.readthedocs.build/

@webknjaz webknjaz merged commit 03e0e4c into webknjaz:maintenance/gha-reusable-docs-workflow--Ana06--get-changed-files--output-format Jun 4, 2023
@hugovk hugovk deleted the maintenance/gha-reusable-docs-workflow--Ana06--get-changed-files--output-format1 branch June 4, 2023 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants