summaryrefslogtreecommitdiff
path: root/.ci/scripts/merge/apply-patches-by-label-private.py
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-16 22:26:54 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-16 22:26:54 -0500
commit16aa49d13864661a2ba4568f36dfb21a05443afb (patch)
tree96340390384f0bf2ec69ca44b8b2127735b4c334 /.ci/scripts/merge/apply-patches-by-label-private.py
parent71313509f75aeafe425e531824d1faa9e7c0a40b (diff)
ci: Don't fetch submodules when fetching PRs
Diffstat (limited to '.ci/scripts/merge/apply-patches-by-label-private.py')
-rw-r--r--.ci/scripts/merge/apply-patches-by-label-private.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label-private.py b/.ci/scripts/merge/apply-patches-by-label-private.py
index fe0acd510..16b45043e 100644
--- a/.ci/scripts/merge/apply-patches-by-label-private.py
+++ b/.ci/scripts/merge/apply-patches-by-label-private.py
@@ -25,7 +25,7 @@ def check_individual(repo_id, pr_id):
def merge_pr(pn, ref):
print("Matched PR# %s" % pn)
- print(subprocess.check_output(["git", "fetch", "https://%sdev.azure.com/%s/_git/%s" % (user, org, repo), ref, "-f"]))
+ print(subprocess.check_output(["git", "fetch", "https://%sdev.azure.com/%s/_git/%s" % (user, org, repo), ref, "-f", "--no-recurse-submodules"]))
print(subprocess.check_output(["git", "merge", "--squash", 'origin/' + ref.replace('refs/heads/','')]))
print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)]))