Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading