diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 789a982b33984334190883ca7014e2baee80a716..b8c7945257b12ab68e549a3eaafe42fb4c227456 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ code_style:
   tags: [ docker ]
   stage: test
   script:
-    - clang-format-11 --dry-run --verbose **/*.c **/*.h **/*.h.in **/*.c.in
+    - clang-format-11 --dry-run --verbose **/*.c **/*.h **/*.h.in
   allow_failure: true
 
 # cmocka tests