mirror of
https://github.com/actions/checkout.git
synced 2026-03-19 18:40:23 +08: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
|
|
@ -49,7 +49,7 @@ export async function prepareExistingDirectory(
|
|||
core.startGroup('Removing previously created refs, to avoid conflicts')
|
||||
// Checkout detached HEAD
|
||||
if (!(await git.isDetached())) {
|
||||
await git.checkoutDetach()
|
||||
await git.checkoutDetach(false)
|
||||
}
|
||||
|
||||
// Remove all refs/heads/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue