But not every author will have agreed to the EULA, if the project includes code by people not in GitHub. E.g. if there is a GitHub mirror of a project that is not hosted by the author, if a project received a patch via email instead of a PR, etc.
That is a very good point, and perhaps could be used as a starting point for a license clause to restrict hosting in places whose EULA doesn't respect the true intent of the license.