###Why it fails
In .github/workflows/ci.yml, the Check PHP code style step runs:
php-cs-fixer
then unconditionally on push (for forks) does:
sh
git add --all
git commit -m "Fix code style issues [skip ci]"
git push ...
From the log:
nothing to commit, working tree clean
then step exits with code 1
So the failing command is the unconditional git commit, which returns non-zero when nothing changed.
5.4
csfixer should not fail the build when the git diff is empty after the php-cs-fix run.
Build hints
nothing to commit, working tree clean
then finally fails with
then step exits with code 1
Introduced by #47936
Joomla 5.4, php 8.5
No response
| Labels |
Added:
No Code Attached Yet
bug
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-07-18 11:43:01 |
| Closed_By | ⇒ | richard67 |
should be related to this pr #47936