From 3ac2567e829860b3c347e40a04d6c75571511b73 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Wed, 12 Oct 2022 15:56:08 +0500 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57096b64..74efdc55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,15 +92,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} - name: Install php-cs-fixer run: composer global require friendsofphp/php-cs-fixer - name: Run php-cs-fixer run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php - name: Commit changes from php-cs-fixer - uses: EndBug/add-and-commit@v9 + uses: stefanzweifel/git-auto-commit-action@v4 with: - author_name: "PHP CS Fixer" - author_email: "phpcsfixer@example.com" - message: Fix code style (php-cs-fixer) + commit_author: "PHP CS Fixer" + commit_user_email: "phpcsfixer@example.com" + commit_message: Fix code style (php-cs-fixer) +