# How GitHub Established Durable Repository Ownership

GitHub developed a permanent ownership system for all repositories.

- **Source:** [The GitHub Blog](https://brifing.si/source/9783c41a-41dd-45e0-8c71-c0930937342d)
- **Published:** 2026-07-09
- **Topic:** [Software & Engineering](https://brifing.si/c/engineering)
- **Original article:** <https://github.blog/security/application-security/how-github-gave-every-repository-a-durable-owner/>
- **On Brifing:** https://brifing.si/s/6fd619fd-3e0e-4158-8326-d68a45e0f274

## GitHub's Repository Ownership Problem

GitHub had over 14,000 repositories, many of which lacked a clear owner. This ambiguity, especially for repositories not tied to production services, caused issues in security and workflow efficiency.

## The Old Ownership Model

GitHub tracked ownership for production services through its Service Catalog. However, this model did not apply to many repositories, leading to frequent ownership ambiguities.

## The Secret Scanning Issue

During secret scanning cleanup, finding repository owners took too much time. This uncertainty risked security workflows and slowed down processes.

## The New Ownership Model

GitHub decided to make repository ownership a first-class property. Using custom properties, ownership type and owner name were defined for each repository, facilitating enterprise policy enforcement.

## Ownership Types

The new model defined three ownership types: Service Catalog, Hubber Handle (GitHub employee), and Team. These types covered all repositories at GitHub.

## Automatic Synchronization

An automatic sync was established between the Service Catalog and repository custom properties. This automated ownership determination for service-backed repositories, reducing workload.

## Implementation Process

Ownership enforcement was initiated using GitHub App and Kubernetes CronJob. Repositories without ownership were archived after a 30-day grace period, offering a reversible and non-destructive solution.

## Initial Implementation Experience

The first implementation caused issues as many repositories lacked ownership. However, this process made GitHub employees more aware of ownership responsibilities.

## Outcome and Importance

GitHub's new ownership model improved repository management, enhancing security workflows and corporate efficiency. It also helped prevent similar issues in the future.

## Sources covering this story

- https://github.blog/security/application-security/how-github-gave-every-repository-a-durable-owner/ — 

---

_Summary written by Brifing from the original reporting. Copyright in the original article belongs to its publisher; read the full piece at the link above._
