From 6b739c20e27bb528bd2b90230b629208117c0f3d Mon Sep 17 00:00:00 2001 From: 12f23eddde <12f23eddde@gmail.com> Date: Mon, 24 Jun 2024 02:42:51 +0800 Subject: [PATCH] ci: set fetch depth to 1 --- .github/workflows/docs.yaml | 2 +- .github/workflows/test.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6e1e48b..0280eac 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -27,7 +27,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 1 - name: Install Poetry run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e5f211..9b6c977 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: 1 - name: Install Poetry run: |