diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 9d41c0c..fde5400 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -2,10 +2,18 @@ name: PHPStan on: push: + branches: [main] paths: - '**.php' - 'phpstan.neon.dist' + pull_request: + branches: [main] + paths: + - '**.php' + - 'phpstan.neon.dist' + + jobs: phpstan: name: phpstan