1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-14 16:53:47 +08:00
This commit is contained in:
Jayen
2025-11-21 09:13:18 +01:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@@ -893,6 +893,7 @@ class GitCommandManager {
}
init() {
return __awaiter(this, void 0, void 0, function* () {
yield this.config('init.defaultBranch', 'main', true, true);
yield this.execGit(['init', this.workingDirectory]);
});
}