From: Daniel Wagner Date: Thu, 18 Jan 2024 14:20:59 +0000 (+0100) Subject: build: checkout full repo for checkpatch X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fdeec39924f99e7567cb6666572d6184d5ef9233;p=users%2Fsagi%2Flibnvme.git build: checkout full repo for checkpatch checkpatch likes to verify git references. Thus we need to checkout the full repo to get this working. Signed-off-by: Daniel Wagner --- diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml index 8cf5e493..c0a09b76 100644 --- a/.github/workflows/checkpatch.yml +++ b/.github/workflows/checkpatch.yml @@ -10,6 +10,6 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: ${{ env.PR_FETCH_DEPTH }} + fetch-depth: 0 - name: Run checkpatch review uses: webispy/checkpatch-action@v9