Migrate label functions to submit requirements
diff --git a/project.config b/project.config index b8704da..cd05e1c 100644 --- a/project.config +++ b/project.config
@@ -51,7 +51,7 @@ createTag = group Project Owners createTag = group mdb/gn-gerrit-owners [label "Code-Review"] - function = MaxWithBlock + function = NoBlock defaultValue = 0 value = -2 This shall not be merged value = -1 I would prefer this is not merged as is @@ -62,3 +62,6 @@ [capability] administrateServer = group mdb/gn-gerrit-owners viewAllAccounts = group gn-scoped +[submit-requirement "Code-Review"] + submittableIf = label:Code-Review=MAX AND -label:Code-Review=MIN + canOverrideInChildProjects = true