From 8c4dcc3ae6bd7ed83be53c4009dd079117925165 Mon Sep 17 00:00:00 2001 From: Evgeniy Naydanov Date: Wed, 5 Jun 2024 22:01:40 +0300 Subject: [PATCH] .github/workflows: run Checkpatch on git revisions When running on diff, Checkpatch ignores `Checkpatch-ignore` directives in the commit message. Change-Id: Ib296d5e972408973fb381fafc51f59569a01d1f0 Signed-off-by: Evgeniy Naydanov --- .github/workflows/checkpatch.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml index b7f3ebaf53..b28165a7ce 100644 --- a/.github/workflows/checkpatch.yml +++ b/.github/workflows/checkpatch.yml @@ -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