GitHub has (for a while now) a way of having organization-global files for CoC, contributing, support and issue/PR templates.
So files you normally put into separate repos can also exist in a special repo in the organization called
.github. If you put a certain file there it will be picked up by all repos not having it. For example, if you put
CODE_OF_CONDUCT in this repo, all repos not having CoC will link to this one. You can override it by putting this file into repos.
This post is inspired by the info that PyPA requires all its repos to adopt its CoC. Since I mentioned this feature to @pradyunsg, he asked me to share this here.
For PyPA to use this, it’d be needed to create https://github.com/pypa/.github repo and go from there.