With 600 repos and 40 teams, nobody knows who owns what. How do you fix ownership at scale?
AdvancedScenarioScale, Submodules, LFS and GitHub Automation
Answer
Situation read → Ownership data scattered across READMEs goes stale.
What I'd do →
- Define repository custom properties (
owner-team,tier,lifecycle) at org level and require them. - Use org rulesets targeting repos by property, for example stricter rules for
tier=1. - Sync GitHub teams from the identity provider (SSO and SCIM).
- Use CODEOWNERS with teams, and run a quarterly report for repos lacking owners.
Why → Machine-readable ownership lets policy and alerts apply automatically.
Interview tip → Connect it to incident response: ownership answers "who gets paged".
More on Scale, Submodules, LFS and GitHub Automation
A monorepo has 4 GB of history and developers only touch one service. How do you make their day-to-day faster?IntermediateDesigners commit PSD and video assets, and the repo keeps growing. How do you move them to Git LFS?IntermediateYour GitHub LFS bandwidth quota is exhausted and CI pulls fail. What do you do?AdvancedA repository uses a submodule. How does a developer get the right version of it?BeginnerSubmodules, subtree or a package manager for sharing code between repos?IntermediateCI cannot clone a private submodule: authentication fails in `actions/checkout`.Intermediate