refactor: use REPO_NAMES in phase4_post_check.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 8aad4299ca
commit 60686d681e

View File

@@ -21,11 +21,11 @@ require_vars GITEA_ADMIN_TOKEN GITEA_BACKUP_ADMIN_TOKEN \
GITEA_INTERNAL_URL GITEA_BACKUP_INTERNAL_URL \
GITEA_ORG_NAME GITEA_ADMIN_USER \
GITHUB_USERNAME GITHUB_TOKEN \
REPO_1_NAME REPO_2_NAME REPO_3_NAME
REPO_NAMES
log_info "=== Phase 4 Post-Check ==="
REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME")
read -ra REPOS <<< "$REPO_NAMES"
PASS=0
FAIL=0