From 4e7db823ea24898995873bed29fdf0c7fc0648c5 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sun, 25 Jan 2026 12:42:45 -0300 Subject: [PATCH] fix(ci): use shallow clone to improve performance --- .forgejo/workflows/botserver.yaml | 2 +- PROMPT.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index 714f6b842..ab743fc05 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -26,7 +26,7 @@ jobs: - name: Setup Workspace run: | - git clone --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace + git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace rm -rf workspace/botserver mv botserver workspace/botserver diff --git a/PROMPT.md b/PROMPT.md index b7806af50..2c9706cd1 100644 --- a/PROMPT.md +++ b/PROMPT.md @@ -231,7 +231,7 @@ When configuring CI/CD pipelines (e.g., Forgejo Actions): ```yaml - name: Setup Workspace run: | - git clone --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace + git clone --depth 1 --recursive https://alm.pragmatismo.com.br/GeneralBots/gb.git workspace rm -rf workspace/botserver mv botserver workspace/botserver ```