aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checkpatch.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml
index 8eb6acf..0da6c54 100644
--- a/.github/workflows/checkpatch.yml
+++ b/.github/workflows/checkpatch.yml
@@ -28,6 +28,11 @@ jobs:
echo "Base commit: $base_commit"
echo "Running checkpatch.pl on all commits in the PR:"
git rev-list --reverse $base_commit..HEAD | while read commit; do
+ # Skip dependabot commits - we do not have control over it
+ if git log -1 --format='%ae' $commit | grep -q "dependabot"; then
+ echo "Skipping dependabot commit: $commit"
+ continue
+ fi
subject=$(git log -1 --format=%s $commit)
echo "Checking commit: $commit - $subject"
if ! ./checkpatch.pl --max-line-length=100 --no-tree --ignore MAINTAINERS,SPDX_LICENSE_TAG,COMMIT_MESSAGE,FILE_PATH_CHANGES,EMAIL_SUBJECT,AVOID_EXTERNS,GIT_COMMIT_ID,ENOSYS_SYSCALL,ENOSYS,FROM_SIGN_OFF_MISMATCH,QUOTED_COMMIT_ID,PREFER_ATTRIBUTE_ALWAYS_UNUSED,PREFER_DEFINED_ATTRIBUTE_MACRO -g $commit; then