From 4f7230fcbeabdc0772dcd4a3d3d3a2ab0f60ded2 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Fri, 5 Dec 2025 13:30:22 +0700 Subject: [PATCH] [generator] Clone repos shallowly --depth 1 Signed-off-by: Konstantin Pastbin --- .forgejo/workflows/map-generator.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/map-generator.yml b/.forgejo/workflows/map-generator.yml index f0dc8fc86..51ca964f0 100644 --- a/.forgejo/workflows/map-generator.yml +++ b/.forgejo/workflows/map-generator.yml @@ -105,17 +105,17 @@ jobs: run: | echo "Cloning $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY branch $FORGEJO_REF_NAME" cd ~ - git clone --recurse-submodules --shallow-submodules -b $FORGEJO_REF_NAME --single-branch $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY.git comaps + git clone --depth 1 --recurse-submodules --shallow-submodules -b $FORGEJO_REF_NAME --single-branch $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY.git comaps - name: Checkout wikiparser repo shell: bash run: | cd ~ - git clone https://codeberg.org/comaps/wikiparser.git + git clone --depth 1 --single-branch https://codeberg.org/comaps/wikiparser.git - name: Checkout subways repo shell: bash run: | cd ~ - git clone https://codeberg.org/comaps/subways.git + git clone --depth 1 --single-branch https://codeberg.org/comaps/subways.git copy-coasts: # if: inputs.run-copy-coasts