0
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-11-28 01:51:57 +02:00
This commit is contained in:
Josh Soref 2025-11-24 14:05:20 +01:00 committed by GitHub
commit ec9a70c7a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

6
dist/index.js vendored
View file

@ -893,7 +893,11 @@ class GitCommandManager {
}
init() {
return __awaiter(this, void 0, void 0, function* () {
yield this.execGit(['init', this.workingDirectory]);
yield this.execGit([
'init',
'--initial-branch=placeholder',
this.workingDirectory
]);
});
}
isDetached() {