I agree. I feel if github was owned/run by people passionate about code and open source software, no code repos be banned, if not just because it's consuming resources contrary to the mission.
It is owned/run by Microsoft. The mission is the big tech mission: usage of any kind regardless of the impact on anything else, and profit.
Try Codeberg, it's specifically for Open Source.