1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-12-06 03:50:39 +00:00
This commit is contained in:
Wiktor Kwapisiewicz 2025-12-05 11:58:04 -05:00 committed by GitHub
commit 47bf195057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -984,7 +984,7 @@ class GitCommandManager {
submoduleUpdate(fetchDepth, recursive) {
return __awaiter(this, void 0, void 0, function* () {
const args = ['-c', 'protocol.version=2'];
args.push('submodule', 'update', '--init', '--force');
args.push('submodule', 'update', '--init', '--force', '--checkout');
if (fetchDepth > 0) {
args.push(`--depth=${fetchDepth}`);
}