From b5dbe323181b6753254545db0a9ddebaaeec799b Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 16 Oct 2019 14:43:41 +0200 Subject: [PATCH] Fix master workflow --- .github/workflows/master.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 375c886..c04ca95 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -35,8 +35,8 @@ jobs: - name: Commit and push changes run: | - git add --all - git status --short -uno - git commit -m 'Update node_modules' - git show --stat-count=10 HEAD - git push + git add . + if output=$(git status --porcelain) && [ ! -z "$output" ]; then + git commit -m 'Update node_modules' + git push + fi