Experiment with submit requirements
diff --git a/project.config b/project.config
index 70133e6..b73bcad 100644
--- a/project.config
+++ b/project.config
@@ -15,6 +15,8 @@
read = group Anonymous Users
read = group Service Users
revert = group Registered Users
+[access "refs/for/*"]
+ addPatchSet = group Registered Users
[access "refs/for/refs/*"]
push = group Registered Users
pushMerge = group Registered Users
@@ -85,6 +87,11 @@
value = +1 No obvious code style issues
defaultValue = 0
copyCondition = changekind:NO_CODE_CHANGE
+[submit-requirement "Code-Style"]
+ description = Code is properly formatted
+ applicableIf = -branch:refs/meta/config
+ submittableIf = -label:Code-Style=MIN
+ canOverrideInChildProjects = true
[label "Verified-Integration"]
function = NoBlock
value = -1 Fails
@@ -92,8 +99,11 @@
value = +1 Verified
defaultValue = 0
copyCondition = changekind:NO_CODE_CHANGE
-[access "refs/for/*"]
- addPatchSet = group Registered Users
+[submit-requirement "Verified-Integration"]
+ description = Integration tests are passing
+ applicableIf = -branch:refs/meta/config
+ submittableIf = -label:Verified-Integration=MIN
+ canOverrideInChildProjects = true
[change]
privateByDefault = false
workInProgressByDefault = false