ci: merge PR with main branch [skip ci]

This commit is contained in:
Baptiste Augrain 2023-12-17 18:42:23 +01:00
parent f09882677b
commit ef4d13a0c6

View file

@ -9,8 +9,11 @@ if [[ "${CI_BUILD}" != "no" ]]; then
fi
if [[ -n "${PULL_REQUEST_ID}" ]]; then
BRANCH_NAME=$( git rev-parse --abbrev-ref HEAD )
git fetch origin "pull/${PULL_REQUEST_ID}/head"
git checkout FETCH_HEAD
git merge "origin/${BRANCH_NAME}"
fi
if [[ -z "${RELEASE_VERSION}" ]]; then