]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix shell escaping in post-merge before_script
authorPetr Špaček <pspacek@isc.org>
Fri, 31 Jan 2025 13:20:04 +0000 (14:20 +0100)
committerPetr Špaček <pspacek@isc.org>
Fri, 31 Jan 2025 14:12:37 +0000 (15:12 +0100)
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

index 8b97642a4c89d4a611d033a6384f1b9af6bfaa9a..6093c63ff69ec204cbbfb50113b48bab499ce80b 100644 (file)
@@ -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