diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 4df9745..851256d 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -1,6 +1,10 @@ name: PHP-CS-Fixer -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: run: @@ -9,7 +13,7 @@ jobs: name: PER steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: 8.2 diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 9365a55..3024dff 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -1,6 +1,10 @@ name: PHPUnit -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: run: @@ -14,7 +18,7 @@ jobs: name: PHP ${{ matrix.php }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }}