summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/merge
diff options
context:
space:
mode:
Diffstat (limited to '.ci/scripts/merge')
-rw-r--r--.ci/scripts/merge/apply-patches-by-label.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py
index 8ddc8ff34..3c5952aa1 100644
--- a/.ci/scripts/merge/apply-patches-by-label.py
+++ b/.ci/scripts/merge/apply-patches-by-label.py
@@ -20,6 +20,7 @@ def check_individual(labels):
def do_page(page):
url = 'https://api.github.com/repos/yuzu-emu/yuzu/pulls?page=%s' % page
response = requests.get(url)
+ response.raise_for_status()
if (response.ok):
j = json.loads(response.content)
if j == []:
@@ -33,7 +34,7 @@ def do_page(page):
print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)]))
try:
- for i in range(1,30):
+ for i in range(1,10):
do_page(i)
except:
traceback.print_exc(file=sys.stdout)