Skip to content

Commit

Permalink
teste
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Feb 27, 2024
1 parent 662fed7 commit b7974b4
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/prettier-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit b7974b4

Please sign in to comment.