Skip to content

Commit 6a158fe

Browse files
committed
Set upstream
1 parent 10693b2 commit 6a158fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-subtree.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ jobs:
7878
echo "Nothing to do, ${UPSTREAM_FROM} matches ${UPSTREAM_HEAD} (${SUBTREE_HEAD_MSG})"
7979
echo "MERGE_CONFLICTS=noop" >> $GITHUB_ENV
8080
else
81-
git -c user.name=gitbot -c user.email=git@bot rebase origin/subtree/library
81+
git branch --set-upstream-to=origin/subtree/library
82+
git -c user.name=gitbot -c user.email=git@bot rebase
8283
echo "MERGE_CONFLICTS=maybe" >> $GITHUB_ENV
8384
fi
8485

0 commit comments

Comments
 (0)