From e511947267008953dfd77d6352f847b32f6bc8e9 Mon Sep 17 00:00:00 2001 From: S Date: Sun, 1 Mar 2026 10:05:45 -0500 Subject: [PATCH] refactor: use REPO_NAMES in phase7_branch_protection.sh Co-Authored-By: Claude Opus 4.6 --- phase7_branch_protection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phase7_branch_protection.sh b/phase7_branch_protection.sh index be03f59..9215bef 100755 --- a/phase7_branch_protection.sh +++ b/phase7_branch_protection.sh @@ -16,12 +16,12 @@ source "${SCRIPT_DIR}/lib/common.sh" load_env require_vars GITEA_ADMIN_TOKEN GITEA_INTERNAL_URL GITEA_ORG_NAME \ - REPO_1_NAME REPO_2_NAME REPO_3_NAME \ + REPO_NAMES \ PROTECTED_BRANCH REQUIRE_PR_REVIEW REQUIRED_APPROVALS phase_header 7 "Branch Protection" -REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME") +read -ra REPOS <<< "$REPO_NAMES" SUCCESS=0 FAILED=0