I fundamentally disagree on your conclusion.
Codeberg is a non profit under German law. There won't be openai "non profit but not really" bullshit.
And your point about CI Integration ins good example: There is no "free" CI. GitHub lets you pay with their vendor lock-in and your data.
If that's okay with you, that's okay with me - but as a programming community as a whole ,especially FOSS side, this needs to go away.
The best case for me is that GitHub dies and its death is a wake-up call to decouple collaboration layers in a way that keeps them modular enough to not again rub into "too big or integrated to fail".
And yes, I'm aware that this is 2/3 day dreaming. But that's my best case association anyway :D