diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2021-04-23 07:58:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 07:58:14 -0400 |
commit | 3ec43de2167e3f9ad095bff05d7285e33e26cd69 (patch) | |
tree | 968097041d91b538b22fb99946e34c85d1fbf593 /.github | |
parent | 1a5a580aad1ff78ce6043348b312e682e5f0cc45 (diff) |
Report porcelain output (#10494)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/checks.yml | 7 |
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 |