diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index a5c97b1dcd6c..9cf3d340a419 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -15,8 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - # Fetch all tags so that the schema_versions script works. - fetch-tags: true + # Fetch all history so that the schema_versions script works. + fetch-depth: 0 - name: Setup mdbook uses: peaceiris/actions-mdbook@adeb05db28a0c0004681db83893d56c0388ea9ea # v1.2.0 diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 45879840c489..31b9dbe3fea6 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -52,8 +52,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - # Fetch all tags so that the schema_versions script works. - fetch-tags: true + # Fetch all history so that the schema_versions script works. + fetch-depth: 0 - name: Setup mdbook uses: peaceiris/actions-mdbook@adeb05db28a0c0004681db83893d56c0388ea9ea # v1.2.0