mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-24 12:25:34 +00:00
Merge 401851faf5
into 85e6279cec
This commit is contained in:
commit
b0f61e0c23
2 changed files with 10 additions and 2 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
@ -711,7 +711,11 @@ class GitCommandManager {
|
|||
}
|
||||
init() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.execGit(['init', this.workingDirectory]);
|
||||
yield this.execGit([
|
||||
'init',
|
||||
'--initial-branch=silence_warning_about_default_branch',
|
||||
this.workingDirectory
|
||||
]);
|
||||
});
|
||||
}
|
||||
isDetached() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue