- shell:
name: Create modified_files.txt
command: git diff HEAD^ --name-only -- '*.py' > modified_files.txt