From 939d2b0ac28b47c6d416b57e0a9d1d52b21e4f16 Mon Sep 17 00:00:00 2001 From: god Date: Sat, 4 Jul 2026 21:47:58 +0800 Subject: [PATCH] ci: shallow checkout for patch deploy --- .gitea/workflows/deploy_patch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy_patch.yml b/.gitea/workflows/deploy_patch.yml index 72eeeb7..60abcd9 100644 --- a/.gitea/workflows/deploy_patch.yml +++ b/.gitea/workflows/deploy_patch.yml @@ -18,11 +18,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - name: Checkout repository + - name: Checkout repository (shallow) env: GITEA_TOKEN: ${{ secrets.TEKTON_RELEASE_TOKEN }} run: | - git clone http://god:$GITEA_TOKEN@52.74.133.55:3000/danchie/tekton.git . + git clone --depth 1 http://god:$GITEA_TOKEN@52.74.133.55:3000/danchie/tekton.git . git config user.name "god" git config user.email "god@noreply.git.klud.top"