mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
builds: refuse to submit >4 builds at once
This commit is contained in:
parent
0e11b08d4c
commit
fb3b4999fc
|
@ -37,6 +37,9 @@ def submit_patchset(ml, payload):
|
|||
manifests = git.get_manifests(repo.owner, repo.remote_id)
|
||||
if not manifests:
|
||||
return None
|
||||
if len(manifests) > 4:
|
||||
manifests = manifests[:4]
|
||||
|
||||
ids = []
|
||||
|
||||
version = payload["version"]
|
||||
|
|
Loading…
Reference in New Issue