refactor: use REPO_NAMES in phase9_teardown.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
S
2026-03-01 10:05:45 -05:00
parent 2ba32d4bc8
commit a4e20ab4f1

View File

@@ -13,12 +13,12 @@ source "${SCRIPT_DIR}/lib/common.sh"
load_env load_env
require_vars GITEA_ADMIN_TOKEN GITEA_INTERNAL_URL GITEA_ORG_NAME \ require_vars GITEA_ADMIN_TOKEN GITEA_INTERNAL_URL GITEA_ORG_NAME \
GITEA_ADMIN_USER \ GITEA_ADMIN_USER \
REPO_1_NAME REPO_2_NAME REPO_3_NAME \ REPO_NAMES \
PROTECTED_BRANCH PROTECTED_BRANCH
log_warn "=== Phase 9 Teardown: Security Scanning ===" log_warn "=== Phase 9 Teardown: Security Scanning ==="
REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME") read -ra REPOS <<< "$REPO_NAMES"
TEMP_BASE="/tmp/gitea-migration-security-teardown" TEMP_BASE="/tmp/gitea-migration-security-teardown"
GITEA_BASE_URL="${GITEA_INTERNAL_URL%/}" GITEA_BASE_URL="${GITEA_INTERNAL_URL%/}"
ASKPASS_SCRIPT="" ASKPASS_SCRIPT=""