Skip to content

Commit be23f5a

Browse files
authored
Merge pull request #17921 from MinaProtocol/georgeee/fix-merges-cleanly-edgecase
Fix edge case in Merges cleanly
2 parents fe0623b + ae2f343 commit be23f5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildkite/scripts/merges-cleanly.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ fi
2121
# Fetch a fresh copy of the target branch
2222
source buildkite/scripts/refresh_code.sh
2323

24+
git fetch origin "${BRANCH}"
25+
2426
# Check mergeability. We use flags so that
2527
# * `--no-commit` stops us from updating the index with a merge commit,
2628
# * `--no-ff` stops us from updating the index to the HEAD, if the merge is a

0 commit comments

Comments
 (0)