Hey all, just wanted to flag a small issue I ran into while using the update-git-submodules action with my dotfiles repo.
Initially, I had my submodules named and located by their full path, like this:
[submodule ".config/nvim"]
path = .config/nvim
url = https://github.com/stephansama/nvim.git
When configured this way, I was getting the following error:
[
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"submodule \"",
"path"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"submodule \"",
"url"
],
"message": "Required"
}
]
After some troubleshooting, I was able to fix it by removing the prefix and just using the repository name:
[submodule "nvim"]
path = .config/nvim
url = https://github.com/stephansama/nvim.git
Not a huge issue, but wanted to share in case anyone else runs into the same thing.
Hey all, just wanted to flag a small issue I ran into while using the update-git-submodules action with my dotfiles repo.
Initially, I had my submodules named and located by their full path, like this:
When configured this way, I was getting the following error:
[ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "submodule \"", "path" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "submodule \"", "url" ], "message": "Required" } ]After some troubleshooting, I was able to fix it by removing the prefix and just using the repository name:
Not a huge issue, but wanted to share in case anyone else runs into the same thing.