Merge pull request #1085 from en-sc/en-sc/checkpatch-check-git
.github/workflows: check git revisions instead of a diff
This commit is contained in:
commit
c6bb902629
|
@ -23,10 +23,4 @@ jobs:
|
||||||
sudo apt-get install patchutils python3-ply python3-git
|
sudo apt-get install patchutils python3-ply python3-git
|
||||||
- name: Run checkpatch
|
- name: Run checkpatch
|
||||||
run: |
|
run: |
|
||||||
git diff --patch FETCH_HEAD \
|
./tools/scripts/checkpatch.pl --no-signoff --git FETCH_HEAD..HEAD
|
||||||
| filterdiff \
|
|
||||||
-x "a/src/jtag/drivers/libjaylink/*" \
|
|
||||||
-x "a/tools/git2cl/*" \
|
|
||||||
-x "a/.github/*" \
|
|
||||||
-x "a/HACKING" \
|
|
||||||
| ./tools/scripts/checkpatch.pl --no-signoff -
|
|
||||||
|
|
Loading…
Reference in New Issue