From bda13d3ef3da1d130d063ec3c5efa6a5d4008b13 Mon Sep 17 00:00:00 2001 From: pierreozoux Date: Fri, 28 Aug 2020 15:43:33 +0200 Subject: [PATCH] Does not fail when there is nothing to commit. --- .github/workflows/update-sh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-sh.yml b/.github/workflows/update-sh.yml index 24551a23..2a675f15 100644 --- a/.github/workflows/update-sh.yml +++ b/.github/workflows/update-sh.yml @@ -20,7 +20,7 @@ jobs: git config --local user.email "workflow@github.com" git config --local user.name "GitHub Workflow" git add ./* - git commit -m "Runs update.sh" + git commit -m "Runs update.sh" || echo "Nothing to update" - name: Push changes uses: ad-m/github-push-action@master with: