1
0
mirror of https://github.com/actions/checkout.git synced 2026-07-08 19:03:47 +08:00

Compare commits

..

3 Commits

Author SHA1 Message Date
Allen Blaylock
9bb1b03182 Merge 15b44f68ab into 0c366fd6a8 2026-01-19 14:04:27 +00:00
eric sciple
0c366fd6a8 Update changelog (#2357) 2026-01-09 14:09:42 -06:00
Allen Blaylock
15b44f68ab Added retry to submodule cloning 2024-03-01 15:48:13 -07:00
3 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog # Changelog
## v6.0.2
* Fix tag handling: preserve annotations and explicit fetch-tags by @ericsciple in https://github.com/actions/checkout/pull/2356
## v6.0.1
* Add worktree support for persist-credentials includeIf by @ericsciple in https://github.com/actions/checkout/pull/2327
## v6.0.0 ## v6.0.0
* Persist creds to a separate file by @ericsciple in https://github.com/actions/checkout/pull/2286 * Persist creds to a separate file by @ericsciple in https://github.com/actions/checkout/pull/2286
* Update README to include Node.js 24 support details and requirements by @salmanmkc in https://github.com/actions/checkout/pull/2248 * Update README to include Node.js 24 support details and requirements by @salmanmkc in https://github.com/actions/checkout/pull/2248

5
dist/index.js vendored
View File

@@ -990,7 +990,10 @@ class GitCommandManager {
if (recursive) { if (recursive) {
args.push('--recursive'); args.push('--recursive');
} }
yield this.execGit(args); const that = this;
yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {
yield that.execGit(args);
}));
}); });
} }
submoduleStatus() { submoduleStatus() {

View File

@@ -457,7 +457,10 @@ class GitCommandManager {
args.push('--recursive') args.push('--recursive')
} }
await this.execGit(args) const that = this
await retryHelper.execute(async () => {
await that.execGit(args)
})
} }
async submoduleStatus(): Promise<boolean> { async submoduleStatus(): Promise<boolean> {