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) +