From d13591f9a1b928e07e87253f9d88cf3a438590c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 8 Feb 2023 16:45:24 +0100 Subject: [PATCH] Run the PHP syntax check only if PHP files changed --- .github/workflows/php.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f50ac21..906a985 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -8,7 +8,11 @@ on: - "5.4" - "5.5" - master + paths: + - '*.php' pull_request: + paths: + - '*.php' jobs: syntax: -- 2.20.1