diff --git a/linting/pylint.yml b/linting/pylint.yml
index e1408e3..f597ae5 100644
--- a/linting/pylint.yml
+++ b/linting/pylint.yml
@@ -1,5 +1,8 @@
 name: Pylint
-on: [push]
+on:
+  push:
+    paths:
+      - '**.py'
 jobs:
   pylint:
     runs-on: ubuntu-latest