software engineering8 min read

How GitHub Gave Every Repository a Durable Owner

9 similar posts
  • GitHub
  • Kubernetes
  • Datadog

AI Summary

GitHub shares its engineering journey of assigning a durable owner to over 14,000 internal repositories. Confronted with unowned repositories during secret scanning, the team introduced custom properties for ownership types, automated syncs with their Service Catalog, and a Kubernetes-backed enforcement tool. Through careful iteration, graceful handling of edge cases, and automated archiving of abandoned projects, they reduced active repositories to 3,000 while ensuring 100% ownership coverage.

Key Takeaways

  • GitHub utilized custom properties ('ownership-type' and 'ownership-name') at the organization level to model repository ownership.
  • An automated Kubernetes CronJob handled enforcement, creating warning issues and archiving unowned repositories after a grace period.
  • Safety mechanisms such as a low water mark prevented mass-archiving incidents caused by stale or corrupted dependency data.

Why it matters

Maintaining clear repository ownership is essential for security remediation, vulnerability management, and compliance at scale. This article provides a practical blueprint for engineering organizations looking to enforce accountability using native platform features like custom properties and automated governance loops.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.