checkout
checkout copied to clipboard
submodules=false not working
It seems that submodule=false not working in my project

here is my setting

Are you sure it checks it out?
/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || ...
that looks like configuring each submodule, but not necessarily checking it out?
In my case, I have private submodules. I want to avoid setting up authentication for CI, so I set submodules: false. I'm seeing a failure to clone submodules despite this setting the value to false. Maybe based on @zerothi's comment that's expected behavior, but I found it counterintuitive, and it leaves me with no option but to set up authentication
#1 0.468 Submodule '<repo_name>' ([email protected]:<repo_name>.git) registered for path '<repo_name>'
#1 0.476 Cloning into '<path>/<repo_name>'...
#1 0.514 Warning: Permanently added 'github.com' (ECDSA) to the list of known hosts.
#1 0.568 [email protected]: Permission denied (publickey).
#1 0.569 fatal: Could not read from remote repository.
#1 0.569
#1 0.569 Please make sure you have the correct access rights
#1 0.569 and the repository exists.