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:
Evgeniy Naydanov 2024-07-01 10:00:15 +03:00 committed by GitHub
commit c6bb902629
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

View File

@ -23,10 +23,4 @@ jobs:
sudo apt-get install patchutils python3-ply python3-git
- name: Run checkpatch
run: |
git diff --patch FETCH_HEAD \
| filterdiff \
-x "a/src/jtag/drivers/libjaylink/*" \
-x "a/tools/git2cl/*" \
-x "a/.github/*" \
-x "a/HACKING" \
| ./tools/scripts/checkpatch.pl --no-signoff -
./tools/scripts/checkpatch.pl --no-signoff --git FETCH_HEAD..HEAD