Migrate label configs to copy conditions
diff --git a/project.config b/project.config
index e79a6ff..23cb59e 100644
--- a/project.config
+++ b/project.config
@@ -63,27 +63,25 @@
[label "Code-Review"]
function = MaxWithBlock
defaultValue = 0
- copyMinScore = true
- copyAllScoresOnTrivialRebase = true
- copyAllScoresIfNoCodeChange = true
value = -2 This shall not be merged
value = -1 I would prefer this is not merged as is
value = 0 No score
value = +1 Looks good to me, but someone else must approve
value = +2 Looks good to me, approved
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN
[label "Verified"]
function = MaxWithBlock
value = -1 Fails
value = 0 No score
value = +1 Verified
- copyAllScoresIfNoCodeChange = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE
[label "Ok-To-Test"]
function = NoOp
value = 0 No score
value = +1 Ok to Test
- copyAllScoresIfNoCodeChange = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE
[access "refs/for/*"]
addPatchSet = group Registered Users
[capability]