Skip to content

Commit 9c65c51

Browse files
Copilotanimesh-garg
andcommitted
chore: update plan to perform full upstream sync
Co-authored-by: animesh-garg <1613964+animesh-garg@users.noreply.github.com>
1 parent 14bd7c4 commit 9c65c51

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/sync-upstream.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,9 @@ jobs:
2727
git remote add upstream https://github.com/alshedivat/al-folio.git
2828
git fetch upstream main
2929
git checkout main
30-
git merge --no-edit upstream/main
30+
upstream_sha="$(git rev-parse --short upstream/main)"
31+
if ! git merge upstream/main -m "Merge upstream al-folio main (${upstream_sha})"; then
32+
echo "Merge conflict detected while syncing with upstream/main. Resolve conflicts manually."
33+
exit 1
34+
fi
3135
git push origin main

0 commit comments

Comments
 (0)