Integrate gitlab-ci/fix-reuse-of-outdated-integration-branch
requested to merge integrate/gitlab-ci/fix-reuse-of-outdated-integration-branch into guf_imx_v2020.04-trizeps8plus_2021_12_07
Commit: seco-ne/yocto/infrastructure/gitlab-ci@bcb6076b
CI: Add check if integration branch is on top of target branch before reusing it
The integration branch was reused even if there where new commits on the target branch, which could lead into reverting some changes. This adds a check, if the existing integration branch is directly based on the target branch and deletes it if not.