fix: add MIGRATION_POLL vars to validation arrays and wizard
MIGRATION_POLL_INTERVAL_SEC and MIGRATION_POLL_TIMEOUT_SEC were in .env.example and used by phase4, but missing from validate_env() arrays and configure_env.sh prompts. Preflight would not catch invalid values. Now validated as positive_integer and prompted in the REPOSITORIES section of the wizard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -206,6 +206,7 @@ _ENV_VAR_NAMES=(
|
||||
GITHUB_USERNAME GITHUB_TOKEN
|
||||
REPO_NAMES
|
||||
MIGRATE_ISSUES MIGRATE_LABELS MIGRATE_MILESTONES MIGRATE_WIKI
|
||||
MIGRATION_POLL_INTERVAL_SEC MIGRATION_POLL_TIMEOUT_SEC
|
||||
GITHUB_MIRROR_INTERVAL
|
||||
TLS_MODE CADDY_DOMAIN CADDY_DATA_PATH
|
||||
PROTECTED_BRANCH REQUIRE_PR_REVIEW REQUIRED_APPROVALS
|
||||
@@ -228,6 +229,7 @@ _ENV_VAR_TYPES=(
|
||||
nonempty nonempty
|
||||
nonempty
|
||||
bool bool bool bool
|
||||
positive_integer positive_integer
|
||||
nonempty
|
||||
tls_mode nonempty path
|
||||
nonempty bool integer
|
||||
|
||||
Reference in New Issue
Block a user