mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-03-09 14:35:48 +00:00
Make showProgress a required argument for checkout and checkoutDetach
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a5d425690b
commit
197ee88ce5
3 changed files with 6 additions and 6 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -1310,7 +1310,7 @@ function prepareExistingDirectory(git, repositoryPath, repositoryUrl, clean, ref
|
|||
core.startGroup('Removing previously created refs, to avoid conflicts');
|
||||
// Checkout detached HEAD
|
||||
if (!(yield git.isDetached())) {
|
||||
yield git.checkoutDetach();
|
||||
yield git.checkoutDetach(false);
|
||||
}
|
||||
// Remove all refs/heads/*
|
||||
let branches = yield git.branchList(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue