]> source.dussan.org Git - nextcloud-server.git/commitdiff
Run cs:check a second time to show diff 21837/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Tue, 14 Jul 2020 16:29:40 +0000 (18:29 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Wed, 15 Jul 2020 13:35:58 +0000 (15:35 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
.github/workflows/lint.yml

index 5680873555f490a1503c99e0544e3170cb729e1e..39809b88debe5db7a5ee7163af7a091b80c13535 100644 (file)
@@ -34,4 +34,7 @@ jobs:
     - name: Install dependencies
       run: composer i
     - name: Run coding standards check
-      run: composer run cs:check -- --format=checkstyle | cs2pr
+      run: |
+        composer run cs:check -- --format=checkstyle | cs2pr
+        composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+      shell: bash {0}