summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-07-14 18:29:40 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-07-15 15:35:58 +0200
commit08cb4b81726be285e44003d58b11f91eb23dd1d2 (patch)
tree223fef72ac44b7652a2206d193e1417b18779bb2 /.github
parent8f78205be076aab99e3ce7e848b1e31541df6b7c (diff)
downloadnextcloud-server-08cb4b81726be285e44003d58b11f91eb23dd1d2.tar.gz
nextcloud-server-08cb4b81726be285e44003d58b11f91eb23dd1d2.zip
Run cs:check a second time to show diff
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5680873555f..39809b88deb 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -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}