-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add option to disable submodules checkout #43
Comments
Having something similar as GitHub checkout action has would do that - set |
I've split the bug portion to #44 |
submodules are now disabled by default and opt-in: https://pre-commit.ci/#configuration-submodules |
Right now pre-commit-ci seems to checkout all submodules. This can fail or just slow down the build and it would be useful to turn this off in case it's not needed.
I've run into this in https://results.pre-commit.ci/run/github/116816146/1612858774.myIqOmUUTmGB06u0oFig9w where the submodules update fails (what might be a separate issue).
When I try it locally with
git submodule update --init --recursive
it works, but it takes quite long and there is no need to run this on pre-commit.ci as the submodules are neither supposed to be checked nor are needed for the pre-commit checks.The text was updated successfully, but these errors were encountered: