From 37d3ccf19f3c20ec229d1a8e35f46459c02e58f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Fri, 31 Jan 2025 14:20:04 +0100 Subject: [PATCH] Fix shell escaping in post-merge before_script Fixup for commit 60140607740bf8e07c0f223c18798bef36ef439c "Do not trigger post-merge jobs for cross-project pushes". Related: isc-projects/bind9!10029 (cherry picked from commit 6276e0b23b678c271de38e92b460b5eba9da0d04) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0dbcd7b42..d409d8fdf1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1710,7 +1710,7 @@ pairwise: # non-fast-forward merges are disabled so we have to have merge commit on top - 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 + : stop if this is not a merge request in the current project\'s namespace - test -n "$MERGE_REQUEST_ID" - git clone --depth 1 https://gitlab.isc.org/isc-projects/bind9-qa.git