They can just limit who is allowed to contribute what, in the settings.
I understand that this might be a controversial opinion, but I believe that new developers should not contribute to established open source projects. It only makes the lives of open source project managers more difficult.
If a developer cannot understand the basics of full code base, they should not contribute. This practice is essentially turning into spam and is akin to a DDoS attack on the open source community.
Many open source projects are considering going closed source due to this exact reason. People with little to no coding knowledge are literally practicing on main ExpressJS repo. What a nightmare for these project managers.
https://video.nostr.build/84049a473935a18ab66e30c582f7ea7adb1dfb23ff461d1504dac7194a9f0a2f.mp4
Discussion
None of these pull requests (PRs) are getting accepted, but someone has to manually check whether they are the right PRs or wrong PRs. With this spam, it becomes extremely hard and time-consuming. Remember, most of these developers are not getting paid by any company; they are open-source developers. So, this is literally a nightmare.
I'm unsure as I never tried this on github before, but: Isn't it possible to limit by default who has the permission to even create a PR on a particular project? We used gitlab internally, selfhosted, for ages, and even there in a rather small team we had settings like this to keep things somehow "controlled"...
There is.