CI: Increase the fetch depth 12/71512/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 5 Apr 2023 20:40:40 +0000 (13:40 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 5 Apr 2023 20:40:40 +0000 (13:40 -0700)
Reno fails with super shallow clones. Increase the fetch-depth to
something relevant but shouldn't be too much

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

.github/workflows/gerrit-verify.yaml

index 76555a0..b9dbf44 100644 (file)
@@ -80,10 +80,11 @@ 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"
+          fetch-depth: "30"
       - uses: actions/setup-python@v4
         id: setup-python
         with: