Merge pull request #1454 from turt2live/travis/fix-proposals-blocked

Only get issues that are proposals when finding proposals
pull/1456/head
Travis Ralston 6 years ago committed by GitHub
commit 1b374eafbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ def getpage(url, page):
def getbylabel(label):
pagecount = 1
json = list()
urlbase = 'https://api.github.com/repos/matrix-org/matrix-doc/issues?state=all&labels=' + label + '&page='
urlbase = 'https://api.github.com/repos/matrix-org/matrix-doc/issues?state=all&labels=proposal,' + label + '&page='
print(urlbase)
json.extend(getpage(urlbase, 1))
for page in range(2, int(pagecount) + 1):

Loading…
Cancel
Save