n8n is not open source and many of the projects are using a hybrid licensing model. Code on GitHub is "source available", not necessarily "open source"
There are plenty of proprietary source code leaks, and those are technically "source available" since the source is available, but that is not a recommended practice.