mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Only get issues that are proposals when finding proposals
Otherwise we end up with not-proposals showing up in the list.
This commit is contained in:
parent
b0744aa1e9
commit
4f24d2101f
|
|
@ -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…
Reference in a new issue