diff options
| author | 2021-11-16 22:26:54 -0500 | |
|---|---|---|
| committer | 2021-11-16 22:26:54 -0500 | |
| commit | 16aa49d13864661a2ba4568f36dfb21a05443afb (patch) | |
| tree | 96340390384f0bf2ec69ca44b8b2127735b4c334 /.ci | |
| parent | Merge pull request #7219 from FernandoS27/aristotles-right-testicle (diff) | |
| download | yuzu-16aa49d13864661a2ba4568f36dfb21a05443afb.tar.gz yuzu-16aa49d13864661a2ba4568f36dfb21a05443afb.tar.xz yuzu-16aa49d13864661a2ba4568f36dfb21a05443afb.zip | |
ci: Don't fetch submodules when fetching PRs
Diffstat (limited to '.ci')
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label-private.py | 2 | ||||
| -rw-r--r-- | .ci/scripts/merge/apply-patches-by-label.py | 2 |
2 files changed, 2 insertions, 2 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): | |||
| 25 | 25 | ||
| 26 | def merge_pr(pn, ref): | 26 | def merge_pr(pn, ref): |
| 27 | print("Matched PR# %s" % pn) | 27 | print("Matched PR# %s" % pn) |
| 28 | print(subprocess.check_output(["git", "fetch", "https://%sdev.azure.com/%s/_git/%s" % (user, org, repo), ref, "-f"])) | 28 | print(subprocess.check_output(["git", "fetch", "https://%sdev.azure.com/%s/_git/%s" % (user, org, repo), ref, "-f", "--no-recurse-submodules"])) |
| 29 | print(subprocess.check_output(["git", "merge", "--squash", 'origin/' + ref.replace('refs/heads/','')])) | 29 | print(subprocess.check_output(["git", "merge", "--squash", 'origin/' + ref.replace('refs/heads/','')])) |
| 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) | 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) |
| 31 | 31 | ||
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py index b2e430ac7..c288a70a1 100644 --- a/.ci/scripts/merge/apply-patches-by-label.py +++ b/.ci/scripts/merge/apply-patches-by-label.py | |||
| @@ -25,7 +25,7 @@ def do_page(page): | |||
| 25 | if (check_individual(pr["labels"])): | 25 | if (check_individual(pr["labels"])): |
| 26 | pn = pr["number"] | 26 | pn = pr["number"] |
| 27 | print("Matched PR# %s" % pn) | 27 | print("Matched PR# %s" % pn) |
| 28 | print(subprocess.check_output(["git", "fetch", "https://github.com/yuzu-emu/yuzu.git", "pull/%s/head:pr-%s" % (pn, pn), "-f"])) | 28 | print(subprocess.check_output(["git", "fetch", "https://github.com/yuzu-emu/yuzu.git", "pull/%s/head:pr-%s" % (pn, pn), "-f", "--no-recurse-submodules"])) |
| 29 | print(subprocess.check_output(["git", "merge", "--squash", "pr-%s" % pn])) | 29 | print(subprocess.check_output(["git", "merge", "--squash", "pr-%s" % pn])) |
| 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) | 30 | print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)])) |
| 31 | 31 | ||