Skip to content

Commit c6bb902

Browse files
authored
Merge pull request riscv-collab#1085 from en-sc/en-sc/checkpatch-check-git
.github/workflows: check git revisions instead of a diff
2 parents ad871cb + ff9736c commit c6bb902

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/checkpatch.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,4 @@ jobs:
2323
sudo apt-get install patchutils python3-ply python3-git
2424
- name: Run checkpatch
2525
run: |
26-
git diff --patch FETCH_HEAD \
27-
| filterdiff \
28-
-x "a/src/jtag/drivers/libjaylink/*" \
29-
-x "a/tools/git2cl/*" \
30-
-x "a/.github/*" \
31-
-x "a/HACKING" \
32-
| ./tools/scripts/checkpatch.pl --no-signoff -
26+
./tools/scripts/checkpatch.pl --no-signoff --git FETCH_HEAD..HEAD

0 commit comments

Comments
 (0)