From 40a08de1bbf04f0824dcef67a6c28bf1c2bccff5 Mon Sep 17 00:00:00 2001 From: eya46 <61458340+eya46@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:09:19 +0800 Subject: [PATCH] website-deploy.yml,website-preview.yml fetch-depth: 0 --- .github/workflows/website-deploy.yml | 2 ++ .github/workflows/website-preview.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 1bd2c67bdd29..c301c44fee6a 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Setup Python Environment uses: ./.github/actions/setup-python diff --git a/.github/workflows/website-preview.yml b/.github/workflows/website-preview.yml index 519f66e7ad0a..2eefddd02052 100644 --- a/.github/workflows/website-preview.yml +++ b/.github/workflows/website-preview.yml @@ -14,6 +14,7 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 - name: Setup Python Environment uses: ./.github/actions/setup-python