From fdeec39924f99e7567cb6666572d6184d5ef9233 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 18 Jan 2024 15:20:59 +0100 Subject: [PATCH] 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 --- .github/workflows/checkpatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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