diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 410dc83..481baa3 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -11,6 +11,8 @@ name: Java CI with Maven
 on:
   push:
     branches: [ "main", "dev" ]
+    paths:
+      - 'src/**'
   pull_request:
     branches: [ "main", "dev" ]