Skip to content

Commit

Permalink
Fix rsync options in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo committed May 11, 2024
1 parent 2fb47b9 commit 3098050
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check_l10n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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: |
Expand Down

0 comments on commit 3098050

Please sign in to comment.