From a716522556679707c3fbc9125275f3a6de7e8144 Mon Sep 17 00:00:00 2001 From: Kevin van Rijn Date: Fri, 29 Sep 2023 21:17:19 +0200 Subject: [PATCH] Specify without dots --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index d133e3021b7..86e5457cf1d 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -27,7 +27,7 @@ jobs: git add package.json git -c user.name="GitHub" -c user.email="noreply@github.com" commit --author="github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" -m"Fix package.json" | sed -n 1p || true git push - if [[ $(git diff --stat HEAD~~...HEAD) -eq 0 || $(git status --porcelain | tee /dev/stderr | head -c1 | wc -c) -ne 0 || $(git clean -dffx | tee /dev/stderr | head -c1 | wc -c) -ne 0 ]]; then + if [[ $(git diff --stat HEAD~~ HEAD) -eq 0 || $(git status --porcelain | tee /dev/stderr | head -c1 | wc -c) -ne 0 || $(git clean -dffx | tee /dev/stderr | head -c1 | wc -c) -ne 0 ]]; then exit 1 fi fi