From 9e6fcd585b5632834279cfa38d33d7c79f5197e9 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 14 Apr 2020 18:29:09 +0200 Subject: 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(-) (limited to '.github/workflows/lint.yml') 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 ) -- cgit v1.2.3