Changing a private repo's visibility to public in the project's settings doesn't work

Summary

In the title.

Steps to reproduce

  1. Create/import a repo with private visibility

  2. Add a file

  3. Set the visibility to public

Expected behavior

Can clone with https://gitlab.com/username/projectname

Actual behavior

Requires authentication when cloning.