Re:GitHub Private Repos Considered Private-Ish
by p-e-w on Sunday June 04, 2023 @10:17AM
(#36185772)
> If your system relies on secrets being present in repos, it is a poorly designed system.
Repos are databases that track changes in files, nothing more and nothing less. There are millions of repos on GitHub that don't contain application code.
Some people put their entire home directory in a Git repository. Home directories almost always contain secrets. That doesn't mean it's a bad idea, it just means the repo isn't meant for the eyes of others. In other words, it's a private repository.
If your system relies on secrets being present in repos, it is a poorly designed system. There is no scenario where this is necessary, other than one not wanting to put in the effort to inject secrets sensibly.
Yes, "the alternatives come with their own risks", but those risks are where the "cost-benefit analysis" equals "not worth the effort".