Skip to content

Commit b37f5eb

Browse files
authored
Remove redundant git fetch in workflow
1 parent 714be0a commit b37f5eb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/sync-main-to-dev.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
git config user.email "[email protected]"
3939
SYNC="$BASE-sync-with-$HEAD"
4040
41-
git fetch origin -v
4241
git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE
43-
4442
git merge origin/$HEAD -m "Merge $HEAD into $SYNC" --allow-unrelated-histories
4543
git checkout origin/dev src/*
4644
git checkout origin/dev tests/*

0 commit comments

Comments
 (0)