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:42 +0000 (16:49 +0100)
.github/workflows/php.yml

index 36b1bc628ed8a50968cca6f8a3e04dbf02c376a3..365f5a63e8ed5daa25ef5d682d01007741d55d0b 100644 (file)
@@ -8,7 +8,11 @@ on:
     - "5.4"
     - "5.5"
     - master
+    paths:
+    - '*.php'
   pull_request:
+    paths:
+    - '*.php'
 
 jobs:
   syntax: