]> 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:42:58 +0000 (04:42 +0200)
Push without merge request reference on top happens when merging tags
back into the public project so these failures would produce log noise.

.gitlab-ci.yml

index c6143f4f4cd1b70b0011461058dd4e834ea92844..3ef72c21d5c6e7972b27faff3aec9d92cb2bce72 100644 (file)
@@ -2062,7 +2062,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: