diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index 026f29af6757..a5c97b1dcd6c 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -14,6 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + # Fetch all tags so that the schema_versions script works. + fetch-tags: true - name: Setup mdbook uses: peaceiris/actions-mdbook@adeb05db28a0c0004681db83893d56c0388ea9ea # v1.2.0 diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index ea3a451a2542..45879840c489 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -51,6 +51,9 @@ jobs: - pre steps: - uses: actions/checkout@v4 + with: + # Fetch all tags so that the schema_versions script works. + fetch-tags: true - name: Setup mdbook uses: peaceiris/actions-mdbook@adeb05db28a0c0004681db83893d56c0388ea9ea # v1.2.0