Ver código fonte

test: only run lint on php file

Cat 3 anos atrás
pai
commit
9f79a4e29c
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      .github/workflows/lint.yml

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

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