From ac59d10c2fb9da778b5410ffb8403203bc6cbb40 Mon Sep 17 00:00:00 2001 From: Niklas Meyer <40291209+eckon@users.noreply.github.com> Date: Mon, 16 Jan 2023 13:23:36 +0100 Subject: [PATCH] Revert "Revert "Revert "ci: fix theme readme generation action (#2271)" (#2394)" (#2418)" This reverts commit 9d6dd6cf5f4208ede92f65dd57a7c6f04097e13f. --- scripts/push-theme-readme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/push-theme-readme.sh b/scripts/push-theme-readme.sh index 1ab5de474ea5a..4a035db3041a0 100755 --- a/scripts/push-theme-readme.sh +++ b/scripts/push-theme-readme.sh @@ -9,6 +9,6 @@ git config --global user.name "GitHub Readme Stats Bot" git branch -d $BRANCH_NAME || true git checkout -b $BRANCH_NAME git add --all -git commit --no-verify --message "docs(theme): Auto update theme readme" +git commit --message "docs(theme): Auto update theme readme" || exit 0 git remote add origin-$BRANCH_NAME https://${PERSONAL_TOKEN}@github.com/${GH_REPO}.git git push --force --quiet --set-upstream origin-$BRANCH_NAME $BRANCH_NAME