From: Petr Špaček Date: Fri, 31 Jan 2025 13:20:04 +0000 (+0100) Subject: Fix shell escaping in post-merge before_script X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee94b97cead8fa5d75eaea07ce0e08f4aa98e629;p=thirdparty%2Fbind9.git 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) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b97642a4c8..6093c63ff69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1273,7 +1273,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