just fetch all of origin

We need to ensure we have MERGE_SHA available too
This commit is contained in:
Wade Simmons
2026-08-20 14:22:20 -04:00
parent 7fc40557a8
commit d6259aef68
+1 -1
View File
@@ -85,7 +85,7 @@ else
echo "Backporting #${PR_NUMBER} (${MERGE_SHA}) onto ${TARGET_BRANCH} as ${BRANCH}" echo "Backporting #${PR_NUMBER} (${MERGE_SHA}) onto ${TARGET_BRANCH} as ${BRANCH}"
git fetch origin "$TARGET_BRANCH" git fetch origin
git checkout -b "$BRANCH" "origin/${TARGET_BRANCH}" git checkout -b "$BRANCH" "origin/${TARGET_BRANCH}"
# -m 1 handles a real merge commit; plain cherry-pick handles a squash merge. # -m 1 handles a real merge commit; plain cherry-pick handles a squash merge.