From fce8d12157b4c2e009cac686ac255f2450cb8b58 Mon Sep 17 00:00:00 2001 From: Dave Mills Date: Mon, 20 Nov 2023 17:01:09 +0000 Subject: [PATCH] Update fix-php-code-styling.yml --- .github/workflows/fix-php-code-styling.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/fix-php-code-styling.yml b/.github/workflows/fix-php-code-styling.yml index fc5bb8c..91cbbf5 100644 --- a/.github/workflows/fix-php-code-styling.yml +++ b/.github/workflows/fix-php-code-styling.yml @@ -2,8 +2,17 @@ name: "Fix PHP Code Styling" on: push: + branches: [main] paths: - '**.php' + - 'phpstan.neon.dist' + + pull_request: + branches: [main] + paths: + - '**.php' + - 'phpstan.neon.dist' + permissions: contents: write