From 38e1025cabdf675727f19b3305cb911517e6c23d Mon Sep 17 00:00:00 2001 From: Enzo Innocenzi Date: Sat, 9 Oct 2021 19:25:29 +0200 Subject: [PATCH] ci(style): don't commit fixes --- .github/workflows/php-cs-fixer.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 2dab4ad..b62c1cb 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -1,6 +1,6 @@ name: Check & fix styling -on: [push] +on: [pull_request] jobs: php-cs-fixer: @@ -15,9 +15,4 @@ jobs: - name: Run PHP CS Fixer uses: docker://oskarstark/php-cs-fixer-ga with: - args: --config=.php-cs-fixer.php --allow-risky=yes - - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: "style: apply php-cs-fixer" + args: --config=.php-cs-fixer.php --diff --dry-run