1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-07 18:24:18 +02:00
This commit is contained in:
Alessio Izzo 2025-04-05 15:46:28 +02:00
parent de1c608fff
commit f63be2acac
No known key found for this signature in database
GPG key ID: 279178C9DCF70EB3

3
dist/index.js vendored
View file

@ -656,6 +656,9 @@ class GitCommandManager {
if (!refSpec.some(x => x === refHelper.tagsRefSpec) && !options.fetchTags) {
args.push('--no-tags');
}
else if (options.fetchTags) {
args.push('--tags');
}
args.push('--prune', '--no-recurse-submodules');
if (options.showProgress) {
args.push('--progress');