diff --git a/.github/workflows/github-pages-pr-preview.yaml b/.github/workflows/github-pages-pr-preview.yaml index ceac4e1bc9..09611d35e8 100644 --- a/.github/workflows/github-pages-pr-preview.yaml +++ b/.github/workflows/github-pages-pr-preview.yaml @@ -38,6 +38,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Use Node.js uses: actions/setup-node@v3 diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index f9d09bb9b0..bcb6395c6a 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -32,6 +32,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Use Node.js uses: actions/setup-node@v3