Open
Description
Every time someone clones other's repo, the last modified time of each file and directory is overwritten with the time of clone.
However, in some cases, we need to know the original time infomation, such as in a blog static site.
There are ways to fix this.
For example, run git ls-files -z | while read -d '' path; do touch -d $(git log -1 --format="@%ct" "$path") "$path"; done
in the workflow file.
But, can you integrate this feature inside actions/checkout and provide a config option like "origin-mtime"?
Metadata
Metadata
Assignees
Labels
No labels