diff --git a/.github/workflows/prettier-php.yml b/.github/workflows/prettier-php.yml index 92808f76d..3c7cdaa2b 100644 --- a/.github/workflows/prettier-php.yml +++ b/.github/workflows/prettier-php.yml @@ -44,11 +44,16 @@ jobs: run: npx prettier --write "**/workflow_test/*.{php,css,js}" --plugin=@prettier/plugin-php - name: Run add and commit - if: ${{ github.ref != 'refs/heads/main' }} - uses: EndBug/add-and-commit@v9 - with: - author_name: GitHub Actions - author_email: github-actions[bot]@users.noreply.github.com - message: "PHP code format - (prettier)" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + git add . + git commit -m "PHP code format - (prettier)" + git push +# - name: Run add and commit +# if: ${{ github.ref != 'refs/heads/main' }} +# uses: EndBug/add-and-commit@v9 +# with: +# author_name: GitHub Actions +# author_email: github-actions[bot]@users.noreply.github.com +# message: "PHP code format - (prettier)" +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}