From b7974b4cfb59049d219bdc7334deabd87b8524f3 Mon Sep 17 00:00:00 2001 From: Elson Costa Date: Tue, 27 Feb 2024 17:47:39 -0300 Subject: [PATCH] teste --- .github/workflows/prettier-php.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) 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 }}