From: Andrew Grimberg Date: Wed, 5 Apr 2023 21:39:27 +0000 (-0700) Subject: CI: Configure full clone for tox docs X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=833678cc00fb09c1ad93f181ea9a7fd24e801757;p=releng%2Fdocs-conf.git CI: Configure full clone for tox docs 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 Change-Id: I13fed2d7223d3f65f77d651013b8a00d07759796 --- diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index b9dbf44..ca338ac 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -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: