]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show a hint for the php-cs fix when the check fails 20476/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 14 Apr 2020 16:29:09 +0000 (18:29 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 14 Apr 2020 20:11:41 +0000 (22:11 +0200)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
.github/workflows/lint.yml

index a6ff39144b43215363a85d741c376e1049f94c97..4de6de686568a4186d9a110dd729ebc22d73c4e4 100644 (file)
@@ -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 )