From 284be2d78ecd80cb8d9c08ada0105ae94e9243c6 Mon Sep 17 00:00:00 2001 From: TSRBerry <20988865+TSRBerry@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:21:09 +0100 Subject: [PATCH] fixup! Only create a new commit if stats changed (#4881) --- .github/workflows/label-stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label-stats.yml b/.github/workflows/label-stats.yml index 941b678..0c901c8 100644 --- a/.github/workflows/label-stats.yml +++ b/.github/workflows/label-stats.yml @@ -67,7 +67,7 @@ jobs: - name: Check if files have been modified id: mod_check run: | - [[ $(git status -s | wc -l) -le 1 ]] \ + [[ $(git status -s | wc -l) -lt 1 ]] \ && echo "is-dirty=false" >> "$GITHUB_OUTPUT" \ || echo "is-dirty=true" >> "$GITHUB_OUTPUT"