From 9e6fcd585b5632834279cfa38d33d7c79f5197e9 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 14 Apr 2020 18:29:09 +0200 Subject: [PATCH] Show a hint for the php-cs fix when the check fails Signed-off-by: Christoph Wurst --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a6ff39144b..4de6de6865 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 )