From cef4d4f7526a9091b4ec036a8d708322f43a3cd4 Mon Sep 17 00:00:00 2001 From: Vincent Klaiber Date: Mon, 23 Oct 2023 09:10:09 +0200 Subject: [PATCH] Update GitHub workflows --- .github/workflows/php-cs-fixer.yml | 8 ++++++-- .github/workflows/phpunit.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) 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 }}