Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty .gitmodules causes error #1867

Open
daveisfera opened this issue Aug 28, 2024 · 0 comments
Open

Empty .gitmodules causes error #1867

daveisfera opened this issue Aug 28, 2024 · 0 comments

Comments

@daveisfera
Copy link

When the .gitmodules file exists but is empty, it appears to cause an error during clean up of the checkout

Post job cleanup.
/usr/bin/git version
git version [2](https://github.com/daveisfera/myrepo/actions/runs/10598127531/job/29369946629#step:10:2).46.0
Temporarily overriding HOME='/home/runner/work/_temp/01c[4](https://github.com/daveisfera/myrepo/actions/runs/10598127531/job/29369946629#step:10:4)9b40-ceaa-46e5-b2ab-fb6e64ce9861' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/myrepo/myrepo
/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
fatal: No url found for submodule path 'aws_deploy/config' in .gitmodules
Warning: The process '/usr/bin/git' failed with exit code 12[8](https://github.com/daveisfera/myrepo/actions/runs/10598127531/job/29369946629#step:10:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant