Skip to content

Commit

Permalink
specify remote for CI_BASE_BRANCH merge base
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Nov 9, 2023
1 parent f0aae16 commit 298f3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ handle_merge_queue_build() {

# Set CI_BASE_COMMIT in case of a merge queue build.
if test -z "${CI_BASE_COMMIT}"; then
previous_merge="$(git -C ${repo_dir} merge-base ${CI_BASE_BRANCH} HEAD)"
previous_merge="$(git -C ${repo_dir} merge-base github/${CI_BASE_BRANCH} HEAD)"
export CI_BASE_COMMIT="${previous_merge}"
fi

Expand Down

0 comments on commit 298f3f8

Please sign in to comment.