From 2d5e9118a5340e08761a8cd111f3d86f28e09ab7 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 22 Nov 2021 12:04:51 -0500 Subject: [PATCH] I do not know bash --- .github/workflows/push.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 941dfdf79e..d577940da3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -26,8 +26,7 @@ jobs: run: | ./gradlew updateBundles - git diff --exit-code - if [ $? ]; then + if [ -n "$(git status --porcelain)" ]; then git add core/assets/bundles/* git commit -m "Automatic bundle update" git push