mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
ci: Check additional pages on GitHub
This commit is contained in:
parent
7d46416a16
commit
0e58bfedfd
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ def do_page(page):
|
||||||
response = requests.get(url)
|
response = requests.get(url)
|
||||||
if (response.ok):
|
if (response.ok):
|
||||||
j = json.loads(response.content)
|
j = json.loads(response.content)
|
||||||
|
if j == []:
|
||||||
|
return
|
||||||
for pr in j:
|
for pr in j:
|
||||||
if (check_individual(pr["labels"])):
|
if (check_individual(pr["labels"])):
|
||||||
pn = pr["number"]
|
pn = pr["number"]
|
||||||
|
@ -28,7 +30,7 @@ def do_page(page):
|
||||||
print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)]))
|
print(subprocess.check_output(["git", "commit", "-m\"Merge %s PR %s\"" % (tagline, pn)]))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
for i in range(1,4):
|
for i in range(1,30):
|
||||||
do_page(i)
|
do_page(i)
|
||||||
except:
|
except:
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
Loading…
Reference in a new issue