Fix: Add unshallow git to post-checkout operations 44/72744/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 13 Mar 2024 17:09:03 +0000 (17:09 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 13 Mar 2024 17:09:03 +0000 (17:09 +0000)
Issue: RELENG-5212
Change-Id: Ib44b91c636a26069162be963e533c645dfbd8c48
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
.readthedocs.yaml

index 136a922..b324abf 100644 (file)
@@ -9,6 +9,9 @@ build:
   os: ubuntu-22.04
   tools:
     python: "3.10"
+  jobs:
+    post_checkout:
+      - git fetch --unshallow || true
 
 # Build documentation in the "docs/" directory with Sphinx
 sphinx: