diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 383cb5c7965597e181f75b467ecb6722d986b053..d820ac14f5e6a81635918dde7a122859f2e69441 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ pytest:
         changes:
             - .gitlab-ci.yml
             - pyproject.toml
-            - templates/python/testing/pytest/*
+            - templates/python/testing/pytest/**/*
 
 flake8:
     stage: templates
@@ -26,7 +26,7 @@ flake8:
         changes:
             - .gitlab-ci.yml
             - pyproject.toml
-            - templates/python/code_quality/flake8/*
+            - templates/python/code_quality/flake8/**/*
 
 black:
     stage: templates
@@ -37,4 +37,4 @@ black:
         changes:
             - .gitlab-ci.yml
             - pyproject.toml
-            - templates/python/code_quality/black/*
+            - templates/python/code_quality/black/**/*