From 114d32317d33acb259752f749036569666064859 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Tue, 30 Dec 2025 19:04:21 +0100 Subject: [PATCH] clone main repo too Signed-off-by: zyphlar --- .forgejo/workflows/process_subways.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/process_subways.yml b/.forgejo/workflows/process_subways.yml index 2a026078f..0e7b51e4d 100644 --- a/.forgejo/workflows/process_subways.yml +++ b/.forgejo/workflows/process_subways.yml @@ -28,8 +28,13 @@ jobs: - uses: actions/cache@v4 with: path: "~" - key: cache-${{ github.run_id }}-${{ github.run_attempt }} - - name: Checkout subways repo + key: cache-${{ github.run_id }}-${{ github.run_attempt }}} + - name: Checkout main repo + shell: bash + run: | + echo "Cloning $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY branch $FORGEJO_REF_NAME" + cd ~ + git clone --depth 1 --recurse-submodules --shallow-submodules -b $FORGEJO_REF_NAME --single-branch $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY.git comaps - name: Checkout subways repo shell: bash run: | cd ~