Skip to content

Commit 0a77abd

Browse files
fix: pull --rebase before push in sync step
1 parent e8ea928 commit 0a77abd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/translate-digest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
AFTER=$(git rev-parse HEAD)
3636
if [ "$LOCAL" != "$AFTER" ]; then
3737
echo "Upstream merged — pushing..."
38+
git pull --rebase origin master
3839
git push
3940
else
4041
echo "Already up to date with upstream."

0 commit comments

Comments
 (0)