Publishing the source code makes it
https://en.wikipedia.org/wiki/Source-available_software
but that code is under the Business Source License, which is not an open source license.
(By way of example: The source code for Windows has been leaked several times, including on github, and MS made it available to various parties over the years, but I think we can agree that it is not open source.)