Skip to content

Commit 42f3bdc

Browse files
authored
[internal] Update GitHub Actions workflow files (#257)
1 parent 88e9d70 commit 42f3bdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/upstream.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ start_rebase() {
8686
fi
8787

8888
git branch -f local
89-
git checkout -B pulumi-patch "${FROM}"
89+
if [ -n "$FROM" ]; then
90+
git checkout -B pulumi-patch "$FROM"
91+
else
92+
git checkout -B pulumi-patch
93+
fi
9094
git branch --set-upstream-to=local pulumi-patch
9195

9296
for patch in ../patches/*.patch; do

0 commit comments

Comments
 (0)