summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2021-04-23 07:58:14 -0400
committerGitHub <noreply@github.com>2021-04-23 07:58:14 -0400
commit3ec43de2167e3f9ad095bff05d7285e33e26cd69 (patch)
tree968097041d91b538b22fb99946e34c85d1fbf593 /.github
parent1a5a580aad1ff78ce6043348b312e682e5f0cc45 (diff)
Report porcelain output (#10494)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checks.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 7225d3dbee..efe61c35f3 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -113,4 +113,9 @@ jobs:
- name: Build netdata
run: ./netdata-installer.sh --dont-start-it --disable-telemetry --dont-wait --install /tmp/install
- name: Check that repo is clean
- run: if [ "$(git status --porcelain=v1 | wc -l)" -gt 0 ] ; then exit 1 ; fi
+ run: |
+ git status --porcelain=v1 > /tmp/porcelain
+ if [ -s /tmp/porcelain ]; then
+ cat /tmp/porcelain
+ exit 1
+ fi