Skip to content

Commit

Permalink
test: try -rf for cp
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Nov 8, 2024
1 parent 1317415 commit 5d358d2
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,12 @@ jobs:
# Copy whitelist files from template
for file in $WHITELIST_FILES; do
if [[ -d "template-repo/$file" ]]; then
cp -r "template-repo/$file" "$file"
else
cp -f "template-repo/$file" "$file"
fi
cp -rf "template-repo/$file" "$file"
done
# Copy additional files from template (if any were specified)
for file in "${additional_files[@]}"; do
if [[ -d "template-repo/$file" ]]; then
cp -r "template-repo/$file" "$file"
else
cp -f "template-repo/$file" "$file"
fi
cp -rf "template-repo/$file" "$file"
done
# Prepare a formatted file list for the PR body
Expand Down

0 comments on commit 5d358d2

Please sign in to comment.