diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f297b3ea6..ad80026ffa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,8 @@ jobs: # 拉取代码 - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: "setup pnpm" uses: "pnpm/action-setup@v4" - name: "setup node" diff --git a/.github/workflows/wiki-deploy.yml b/.github/workflows/wiki-deploy.yml index 3355921acd..2b2a73aaf3 100644 --- a/.github/workflows/wiki-deploy.yml +++ b/.github/workflows/wiki-deploy.yml @@ -27,6 +27,8 @@ jobs: # 拉取代码 - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: "setup pnpm" uses: "pnpm/action-setup@v4" - name: "setup node"