Skip to content

Commit

Permalink
Update sync.yml
Browse files Browse the repository at this point in the history
Signed-off-by: VetheonGames <[email protected]>
  • Loading branch information
VetheonGames authored Jun 28, 2024
1 parent 2f1122a commit 8e5e1e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:
git checkout master
git merge upstream/master --strategy-option theirs --no-commit
git restore --source=HEAD --staged README.md .github/
git commit -m "Merge upstream changes"
if git diff-index --quiet HEAD; then
echo "No changes to commit"
else
git commit -m "Merge upstream changes"
fi
- name: Push Changes
run: git push origin master

0 comments on commit 8e5e1e5

Please sign in to comment.