From 039a14a473493fd74fb61b60910652db3cfd5976 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Sun, 29 Jun 2025 13:41:47 +0200 Subject: [PATCH] revert: improve CI readability with grouped git setup logs This reverts commit 8a3960ad8712bc29823dc601a120a61582fa2a3b. --- scripts/setup-git.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/setup-git.sh b/scripts/setup-git.sh index 46f2e7f..35f57ea 100755 --- a/scripts/setup-git.sh +++ b/scripts/setup-git.sh @@ -1,9 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -# Open a log group for better readability in CI pipelines -echo "::group::🔧 Git Author Setup" - # Optional inputs (positionals) or fallback to environment variables AUTHOR_NAME="${1:-${CI_COMMIT_AUTHOR_NAME:-CI Bot}}" AUTHOR_EMAIL="${2:-${CI_COMMIT_AUTHOR_EMAIL:-ci@bot.none}}" @@ -21,17 +18,12 @@ CONFIGURED_EMAIL=$(git config --global user.email) if [[ "$CONFIGURED_NAME" != "$AUTHOR_NAME" ]]; then echo "❌ Error: Git username was not set correctly!" >&2 - echo "::endgroup::" exit 1 fi if [[ "$CONFIGURED_EMAIL" != "$AUTHOR_EMAIL" ]]; then echo "❌ Error: Git email was not set correctly!" >&2 - echo "::endgroup::" exit 1 fi echo "✅ Git configuration completed successfully." - -# Close the log group -echo "::endgroup::"