1
0
mirror of https://github.com/actions/checkout.git synced 2026-07-05 18:53:46 +08:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Nanashi.
5a347ae0ae Merge 110353ee6c into 09d2acae67 2025-06-11 12:25:35 +10:00
Nanashi
110353ee6c Merge branch 'main' into patch-1 2022-12-20 20:06:47 +09:00
Nanashi
51ffdcdb1d Fix: Fix Syntax 2022-06-20 17:16:41 +09:00
Nanashi
f2738ccb35 Fix: Don't remove auth if submodules are off 2022-06-20 17:08:30 +09:00

View File

@@ -364,6 +364,7 @@ class GitAuthHelper {
} }
} }
if (this.settings.submodules) {
const pattern = regexpHelper.escape(configKey) const pattern = regexpHelper.escape(configKey)
await this.git.submoduleForeach( await this.git.submoduleForeach(
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline // wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
@@ -371,4 +372,5 @@ class GitAuthHelper {
true true
) )
} }
}
} }