From: Christoph Wurst Date: Tue, 14 Apr 2020 16:29:09 +0000 (+0200) Subject: Show a hint for the php-cs fix when the check fails X-Git-Tag: v19.0.0beta3~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F20476%2Fhead;p=nextcloud-server.git Show a hint for the php-cs fix when the check fails Signed-off-by: Christoph Wurst --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a6ff39144b4..4de6de68656 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,4 +33,4 @@ jobs: - name: Install dependencies run: composer i - name: Run coding standards check - run: composer run cs:check + run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )