That is quite bad advice!
Most projects have some contributing.md file or something similar with their specific guidelines. One should really start from there.
Also a fire and forget merge request is probably the least welcome way to contribute to something.