From c814e79a1b615a0105801cccd57f69d6b0c31041 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 17 Dec 2021 14:24:30 +0100 Subject: [PATCH] Maintenance: Fix GIT push handling to not use shallow clones. --- .gitlab/ci/pre.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab/ci/pre.yml b/.gitlab/ci/pre.yml index 0b667323b..137594f72 100644 --- a/.gitlab/ci/pre.yml +++ b/.gitlab/ci/pre.yml @@ -58,7 +58,7 @@ brakeman: artifacts: expire_in: 1 week paths: - - tmp/brakeman-report.html + - tmp/brakeman-report.html when: on_failure script: - bundle install -j $(nproc) --path vendor @@ -89,8 +89,9 @@ github: tags: - deploy before_script: - - "" # no RVM present in deploy ENV + - '' # no RVM present in deploy ENV script: + - git fetch --unshallow - script/build/sync_repo.sh git@github.com:zammad/zammad.git global_refresh_envs: @@ -104,7 +105,7 @@ global_refresh_envs: artifacts: expire_in: 1 day paths: - - fresh.env + - fresh.env rules: - if: $CI_MERGE_REQUEST_ID when: never