Run the PHP syntax check only if PHP files changed
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 8 Feb 2023 15:45:24 +0000 (16:45 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 8 Feb 2023 15:49:21 +0000 (16:49 +0100)
.github/workflows/php.yml

index f50ac2111e5bedb5f26b79cf299c84bfb0da527c..906a985acb45627c246d158cf55b1543dfc348ac 100644 (file)
@@ -8,7 +8,11 @@ on:
     - "5.4"
     - "5.5"
     - master
+    paths:
+    - '*.php'
   pull_request:
+    paths:
+    - '*.php'
 
 jobs:
   syntax: