aboutsummaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-06-26 14:59:29 +0200
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-06-26 14:59:29 +0200
commit4534961a3fb247359535721e142d93ad7de56ee2 (patch)
treec7c076e97cc748056e2b56f84e12423dadbe6d27 /.gitlab
parent9f2d9d3353efd7563d4c107e389e3c79f593506f (diff)
fix error 'fatal: origin/main...HEAD: no merge base' in pipeline, fixes #5331
Closes #5331 Merge request studip/studip!4288
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/scripts/ci-helpers.sh2
1 files changed, 1 insertions, 1 deletions
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')