You can always ask, in a kind and polite way, to the maintainers to change to gitlab or something else. Many projects are migrating from github to gitlab.
Anyway you don't have to sacrifice your freedom, but if it is with a good purpose I don't think anyone would think it is "unethical".
