]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Do not fail post-merge jobs if merge request reference is missing
authorPetr Špaček <pspacek@isc.org>
Thu, 25 Sep 2025 11:21:23 +0000 (13:21 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 24 Oct 2025 02:53:01 +0000 (04:53 +0200)
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 545ef542a1cf3c6b7f24d44952fe055e237752d3)

.gitlab-ci.yml

index 6a635f6825864154c9da092838720e4ba316b9c1..6a1178508e63adf6a89178bbf3d7111f94d8074f 100644 (file)
@@ -1989,7 +1989,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: