diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 7f61fce..335a725 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -1,6 +1,12 @@ name: Fix PHP code style issues -on: [push] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: php-code-styling: diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 8999797..b019d91 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -1,7 +1,12 @@ name: PHPStan on: + pull_request: + branches: + - main push: + branches: + - main paths: - '**.php' - 'composer.json' diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8a90d0a..3c067fe 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -3,7 +3,7 @@ name: run-tests on: push: branches: - - '*' + - main pull_request: branches: - main