Skip to content

Commit f4bd9b1

Browse files
committed
Change
1 parent 78ea9f4 commit f4bd9b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,14 @@ jobs:
6868
path: libraries/vendor
6969
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
7070
- name: Check PHP code style
71+
id: check-codestyle
7172
env:
7273
PHP_CS_FIXER_IGNORE_ENV: true
7374
run: |
7475
git config --global --add safe.directory $GITHUB_WORKSPACE
7576
./libraries/vendor/bin/${{ matrix.command }}
7677
- uses: parkerbxyz/suggest-changes@v2
78+
if: failure() && steps.check-codestyle.outcome == 'failure'
7779
with:
7880
comment: 'Your code does not comply with our codestyle. Please commit the suggested changes.'
7981

0 commit comments

Comments
 (0)