Report porcelain output (#10494)
Josh Soref committed
Apr 23, 2021 at 07:58 UTC
3ec43de2167e3f9ad095bff05d7285e33e26cd69
1 file changed
+6
-1
.github/workflows/checks.yml
+6
-1
@@ -113,4 +113,9 @@ jobs:
113
- name: Build netdata
114
run: ./netdata-installer.sh --dont-start-it --disable-telemetry --dont-wait --install /tmp/install
115
- name: Check that repo is clean
116
- run: if [ "$(git status --porcelain=v1 | wc -l)" -gt 0 ] ; then exit 1 ; fi
116
+ run: |
117
+ git status --porcelain=v1 > /tmp/porcelain
118
+ if [ -s /tmp/porcelain ]; then
119
+ cat /tmp/porcelain
120
+ exit 1
121
+ fi