diff --git a/.github/workflows/check-styling.yml b/.github/workflows/check-styling.yml index d2450de..40965e7 100644 --- a/.github/workflows/check-styling.yml +++ b/.github/workflows/check-styling.yml @@ -2,6 +2,7 @@ name: Check styling on: push: + branches: [main] pull_request: branches: [main] diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 75a5610..e22e701 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] permissions: contents: read