Browse Source

test: only run lint on php file

Cat 3 years ago
parent
commit
9f79a4e29c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/lint.yml

+ 4 - 0
.github/workflows/lint.yml

@@ -1,7 +1,11 @@
 name: Lint code
 name: Lint code
 on:
 on:
   push:
   push:
+    paths:
+      - "**.php"
   pull_request:
   pull_request:
+    paths:
+      - "**.php"
     types: [opened, reopened, synchronize]
     types: [opened, reopened, synchronize]
 
 
 jobs:
 jobs: