From cc63d234f07d4a09c54349deb152709540d4dd49 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Wed, 5 Apr 2023 13:40:40 -0700 Subject: [PATCH] CI: Increase the fetch depth Reno fails with super shallow clones. Increase the fetch-depth to something relevant but shouldn't be too much Signed-off-by: Andrew Grimberg Change-Id: I17d5c62d82e5f3a8a3b71e027b01a26e33e73902 --- .github/workflows/gerrit-verify.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index 76555a0..b9dbf44 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -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: -- 2.16.6