Skip to content

Automate detection of GitHub user renames #5572

Open
@Okabe-Junya

Description

@Okabe-Junya

ref. https://kubernetes.slack.com/archives/C01672LSZL0/p1746110070862829

Background

When a k / k-sigs / ... member renames their GitHub login, references to their old name remain in scattered OWNERS files and config/**/org.yaml like

Relying on manual PRs or human checks to update these is error-prone and inconsistent, risking breakage of OWNERS-based automation (approvals, CODEOWNERS, etc..).

Proposal

Leverage each user's immutable GitHub numeric ID. The ID and login name can be looked up interchangeably, for example:

$ curl https://api.github.com/users/Okabe-Junya | jq .id
86868255

$ curl https://api.github.com/user/86868255 | jq .login
"Okabe-Junya"

(Where and how to store the full list of IDs <-> logins has not yet been decided.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions