From 498bb4c56eeb453b5295b8f53234afb53af6cab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sun, 14 Jun 2020 15:41:23 +0200 Subject: [PATCH] ci: increase fetch depth for changed file detection This is required to accomodate branches which are slightly behind master. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4e25a57..52abb9d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,7 +78,7 @@ stages: script: - python3 tools/ci-restore-timestamps.py - make html inbox-html - - git fetch --depth=1 origin main + - git fetch --depth=50 origin main - bash tools/ci-changed-builds.sh origin/main rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'