From 4534961a3fb247359535721e142d93ad7de56ee2 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Thu, 26 Jun 2025 14:59:29 +0200 Subject: fix error 'fatal: origin/main...HEAD: no merge base' in pipeline, fixes #5331 Closes #5331 Merge request studip/studip!4288 --- .gitlab/scripts/ci-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/scripts/ci-helpers.sh b/.gitlab/scripts/ci-helpers.sh index 4203e6a..e322112 100644 --- a/.gitlab/scripts/ci-helpers.sh +++ b/.gitlab/scripts/ci-helpers.sh @@ -2,7 +2,7 @@ # Fetch origin/main safely (no tags, no full history) fetch_main() { - git fetch --no-tags --depth=1024 origin main >/dev/null 2>&1 + git fetch --no-tags --unshallow origin main >/dev/null 2>&1 } # Get list of changed files matching a glob (e.g. '*.php' or 'src/**/*.vue') -- cgit v1.0