Skip to content

Commit

Permalink
Update copy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mefinity authored May 25, 2024
1 parent cbe97f0 commit 51fd0fc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,13 @@ jobs:
git add "$FILE_NAME"
git commit -m "Update on $FILE_NAME"
git fetch origin 2024
git merge origin/2024 --allow-unrelated-histories
git merge origin/2024 --allow-unrelated-histories || {
echo "Merge conflict!!!!!!!!!!!!!!!!!!"
git diff --name-only --diff-filter=U
git checkout --ours "$FILE_NAME"
git add "$FILE_NAME"
git checkout --theirs domains
git add domains
git commit -m "Resolved merge conflicts in 2024-05-25 and domains"
}
git push origin update-$FILE_NAME:2024

0 comments on commit 51fd0fc

Please sign in to comment.