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