Skip to content

Commit

Permalink
build: checkout full repo for checkpatch
Browse files Browse the repository at this point in the history
checkpatch likes to verify git references. Thus we need to checkout the
full repo to get this working.

Signed-off-by: Daniel Wagner <[email protected]>
  • Loading branch information
igaw committed Dec 21, 2023
1 parent 807a66c commit 5ecc1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checkpatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5ecc1b6

Please sign in to comment.