diff --git a/.github/file-paths.yaml b/.github/file-paths.yaml
index c59af74025d4a4b5dd66cc83daf08cf9d92ad168..5388d59a6fd46ed28e6ee12709f7267b17c6775b 100644
--- a/.github/file-paths.yaml
+++ b/.github/file-paths.yaml
@@ -14,8 +14,8 @@ shared_specs: &shared_specs
 
 frontend_sources: &frontend_sources
   - *shared_sources
-  - "enterprise/frontend/**"
-  - "frontend/!(test)/**"
+  - "enterprise/frontend/!(test)**/**/{!(*.spec),}.{js,jsx,ts,tsx,css}"
+  - "frontend/!(test)**/**/{!(*.spec),}.{js,jsx,ts,tsx,css}"
   - "yarn.lock"
   - "**/tsconfig*.json"
   - "package.json"