From a51373b8a7eefdc981a109ca0996f4beb738edc4 Mon Sep 17 00:00:00 2001 From: Jan-Paul Kleemans Date: Wed, 15 Jun 2022 11:31:12 +0200 Subject: [PATCH] Simplify lint action --- .github/workflows/php_cs_fixer.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/php_cs_fixer.yml b/.github/workflows/php_cs_fixer.yml index 9b6d9e5..11fdb80 100644 --- a/.github/workflows/php_cs_fixer.yml +++ b/.github/workflows/php_cs_fixer.yml @@ -7,17 +7,7 @@ on: jobs: lint: runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - - - name: Run php-cs-fixer + - uses: actions/checkout@v3 + - name: PHP-CS-Fixer uses: docker://oskarstark/php-cs-fixer-ga - - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4.10.0 - with: - commit_message: Automatically applied PHP CS Fixer changes