From 6479093245b259830faad7799568bf9683c86266 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Sat, 3 Oct 2020 18:32:14 +0200 Subject: [PATCH] The update-sh should also commit file removals For example here https://github.com/nextcloud/docker/tree/2161012fb80fd24ad85bcdf62d2dd77af1465333 the 20.0-rc dir is still there. --- .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 2a675f15..f24eca03 100644 --- a/.github/workflows/update-sh.yml +++ b/.github/workflows/update-sh.yml @@ -19,7 +19,7 @@ jobs: run: | git config --local user.email "workflow@github.com" git config --local user.name "GitHub Workflow" - git add ./* + git add -A git commit -m "Runs update.sh" || echo "Nothing to update" - name: Push changes uses: ad-m/github-push-action@master