CI: Configure full clone for tox docs 13/71513/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 5 Apr 2023 21:39:27 +0000 (14:39 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 5 Apr 2023 21:39:27 +0000 (14:39 -0700)
Reno needs the full repository history to properly build the docs.
Increas the fetch-depth to be the full repository. Also, bring the
pre-commit validation to the same level of the gerrit checkout action

Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Change-Id: I13fed2d7223d3f65f77d651013b8a00d07759796

.github/workflows/gerrit-verify.yaml

index b9dbf44..ca338ac 100644 (file)
@@ -66,7 +66,7 @@ jobs:
     needs: prepare
     runs-on: ubuntu-latest
     steps:
-      - uses: lfit/checkout-gerrit-change-action@v0.2
+      - uses: lfit/checkout-gerrit-change-action@v0.3
         with:
           gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
           delay: "0s"
@@ -84,7 +84,7 @@ jobs:
         with:
           gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
           delay: "0s"
-          fetch-depth: "30"
+          fetch-depth: "0"
       - uses: actions/setup-python@v4
         id: setup-python
         with: