From aa54e20dc9f6dc04398c6224340d6666fc6de4a8 Mon Sep 17 00:00:00 2001 From: root <834207172@qq.com> Date: Thu, 2 Apr 2026 21:48:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/.gitlab-c?= =?UTF-8?q?i.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/.gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/.gitlab-ci.yml b/.gitea/workflows/.gitlab-ci.yml index 8bb6412..b837281 100644 --- a/.gitea/workflows/.gitlab-ci.yml +++ b/.gitea/workflows/.gitlab-ci.yml @@ -44,6 +44,9 @@ jobs: # git --version # 验证 - name: Checkout uses: http://106.52.62.106:3000/unity-registry/checkout@v4 + with: + fetch-depth: 1 # 只拉取最新提交,不拉历史 + single-branch: true # 只拉取当前分支 - name: Setup Node.js run: | ln -sf /srv/18-alpine/bin/node /usr/bin/node