Skip to content

Add --clean arg to take a list of comma-seperated files to touch #168

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

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