Skip to content

Commit

Permalink
Exit action if working tree is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 29, 2023
1 parent f66fa43 commit d31999e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:

- name: Commit changes
run: |
git diff --quiet && exit 0
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add ./src
Expand Down

0 comments on commit d31999e

Please sign in to comment.