1
0
Fork 0
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:
Max schwenk 2026-02-25 18:44:33 -05:00
parent a5d425690b
commit 197ee88ce5
3 changed files with 6 additions and 6 deletions

2
dist/index.js vendored
View file

@ -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);