diff --git a/.github/workflows/check_l10n.yml b/.github/workflows/check_l10n.yml index 6e4441ae..abc411be 100644 --- a/.github/workflows/check_l10n.yml +++ b/.github/workflows/check_l10n.yml @@ -50,7 +50,8 @@ jobs: # Use temporary folder to store files from the default branch cd ..;mkdir temp_files # Copy files, excluding scripts and workflows - rsync -av --exclude={".git",".gitignore",".github/scripts",".github/templates",".github/workflows",".github/requirements.txt",".vscode","package.json"} clone/ temp_files/ + # Use --ignore-times (-I) options to ensure all files are copied + rsync -aIv --exclude={".git",".gitignore",".github/scripts",".github/templates",".github/workflows",".github/requirements.txt",".vscode","package.json"} clone/ temp_files/ # Use l10n_reference as a base for l10n_updates, to avoid generating # a huge diff in the pull request. @@ -59,7 +60,8 @@ jobs: git checkout -B l10n_updates # Restore files from the default branch - rsync -av ../temp_files/ ./ + # Use --ignore-times (-I) options to ensure all files are copied + rsync -aIv ../temp_files/ ./ - name: Commit changes to l10n_updates branch continue-on-error: true run: |