Skip to content

Commit

Permalink
remove git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
datengraben committed Feb 7, 2025
1 parent 3a4178c commit d7c839f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/phpcbf-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
run: |
./vendor/bin/phpcbf -q --parallel=1 src templates assets 2>&1 | tee phpcbf.output.txt
- name: Check for changes
run: |
if [[ $(git status --porcelain) ]]; then
echo "phpcbf made changes to the code. Please fix these issues before committing."
git --no-pager diff
exit 1
else
echo "No changes detected. Code is properly formatted."
fi
# - name: Check for changes
# run: |
# if [[ $(git status --porcelain) ]]; then
# echo "phpcbf made changes to the code. Please fix these issues before committing."
# git --no-pager diff
# exit 1
# else
# echo "No changes detected. Code is properly formatted."
# fi

report-phpcbf:
needs: phpcbf
Expand Down

0 comments on commit d7c839f

Please sign in to comment.