From: Tim Düsterhus Date: Wed, 8 Feb 2023 15:45:24 +0000 (+0100) Subject: Run the PHP syntax check only if PHP files changed X-Git-Tag: 6.0.0_Beta_1~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d13591f9a1b928e07e87253f9d88cf3a438590c3;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Run the PHP syntax check only if PHP files changed --- 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: