From 4c3b16a2db7ae37d9b5705c942a7d65940d9196c Mon Sep 17 00:00:00 2001 From: Ramesh Padmanabhaiah Date: Sat, 20 Jun 2026 16:52:30 -0700 Subject: [PATCH] Update workspace defaults to main --- tests/validate.sh | 5 +++++ workspace.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/validate.sh b/tests/validate.sh index 910e6e3..319fbbd 100755 --- a/tests/validate.sh +++ b/tests/validate.sh @@ -20,4 +20,9 @@ for file in "${required_files[@]}"; do } done +if grep -Eq 'default_branch:[[:space:]]*master\b' workspace.yaml; then + printf 'workspace.yaml must not use master as a default branch.\n' >&2 + exit 1 +fi + printf 'Repository baseline is present.\n' diff --git a/workspace.yaml b/workspace.yaml index e43a326..3701b5c 100644 --- a/workspace.yaml +++ b/workspace.yaml @@ -6,7 +6,7 @@ workspace: repos: - name: base url: git@github.com:basefoundry/base.git - default_branch: master + default_branch: main required: true - name: base-workspace