Missing labels is a subset of allow_needs
Missing labels should not require to be a proper subset of the labels we set in the pipeline. The sets should also be able to be equal. Change-Id: If29a7f6a2730fa279c3405b24fc1d413bec456f0
This commit is contained in:
parent
b2e5500cc2
commit
0735b7b838
|
@ -882,7 +882,7 @@ class GerritConnection(BaseConnection):
|
|||
# Good question. It's probably ref-updated, which, ah,
|
||||
# means it's merged.
|
||||
return True
|
||||
if change.missing_labels < set(allow_needs):
|
||||
if change.missing_labels <= set(allow_needs):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue