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=47e2872bad8088bbc265dbf7dfb60c3e83886b89;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 cb73c818c78..adabed0f47c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -969,7 +969,7 @@ abi-check: # 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