Skip to content

Commit 5a930df

Browse files
committed
feat: prompt for CODEOWNERS value
1 parent 40c8314 commit 5a930df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

monorepo-migration/migrate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ check_command mvn
3434
MONOREPO_URL="https://github.com/googleapis/google-cloud-java"
3535
SOURCE_REPO_URL="${SOURCE_REPO_URL:-https://github.com/googleapis/java-logging}"
3636
CODEOWNER="${CODEOWNER:-}"
37+
if [ -z "$CODEOWNER" ]; then
38+
read -p "Enter CODEOWNER (e.g., @chingor13): " CODEOWNER
39+
fi
3740

3841
# Derive names from URLs to avoid duplication
3942
SOURCE_REPO_NAME="${SOURCE_REPO_URL##*/}"

0 commit comments

Comments
 (0)