Do not fail post-merge jobs if merge request reference is missing

Push without merge request reference on top happens when merging tags
back into the public project so these failures would produce log noise.

(cherry picked from commit 545ef542a1)
This commit is contained in:
Petr Špaček 2025-09-25 13:21:23 +02:00 committed by Michał Kępień
parent 697e241206
commit 3c4fb8625f
No known key found for this signature in database

View file

@ -2173,7 +2173,7 @@ pairwise:
- MERGE_REQUEST_ID="$(git log -1 --format='%b' | sed --silent -e "s|^See merge request ${CI_PROJECT_PATH}\!||p")"
- >
: stop if this is not a merge request in the current project\'s namespace
- test -n "$MERGE_REQUEST_ID"
- test -n "$MERGE_REQUEST_ID" || exit 0
- git clone --depth 1 https://gitlab.isc.org/isc-projects/bind9-qa.git
backports: