From 3c4fb8625f19fb8f660bb1346ab6972a53c8fa93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Thu, 25 Sep 2025 13:21:23 +0200 Subject: [PATCH] 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 545ef542a1cf3c6b7f24d44952fe055e237752d3) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cc0e7836f..ddb9d35642 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: