From c10dd0acea6e41407b6f82dd0d6cbf1b022f482c Mon Sep 17 00:00:00 2001 From: Jonas Kruckenberg Date: Thu, 15 Dec 2022 16:06:11 +0100 Subject: [PATCH] Update sync-to-mirrors.sh --- .github/sync-to-mirrors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-to-mirrors.sh b/.github/sync-to-mirrors.sh index 1451491f..757e1d10 100755 --- a/.github/sync-to-mirrors.sh +++ b/.github/sync-to-mirrors.sh @@ -98,7 +98,7 @@ while read -r PLUGIN_NAME; do if [[ -n "$FORCE_COMMIT" || -n "$(git status --porcelain)" ]]; then echo "Committing to $PLUGIN_NAME" - if git commit --quiet $FORCE_COMMIT --author="${COMMIT_ORIGINAL_AUTHOR}" -m "${COMMIT_MESSAGE}" -S && + if git commit --quiet $FORCE_COMMIT --author="${COMMIT_ORIGINAL_AUTHOR}" -m "${COMMIT_MESSAGE}" && { [[ -z "$CI" ]] || git push origin "$BRANCH"; } # Only do the actual push from the GitHub Action then # echo "$BUILD_BASE/changes.diff"