diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index ac3c144e6..2c0d58604 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -38,5 +38,4 @@ jobs: cd apps commits=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'` git log --oneline $commits - echo "../nuttx/tools/checkpatch.sh -g $commits" - ../nuttx/tools/checkpatch.sh -g $commits + git diff $commits | ../nuttx/tools/checkpatch.sh -