Migrate label configs to copy conditions
diff --git a/project.config b/project.config
index 295aa02..4ce4c01 100644
--- a/project.config
+++ b/project.config
@@ -57,29 +57,27 @@
createSignedTag = group Project Owners
[label "Code-Review"]
function = MaxWithBlock
- copyMinScore = true
- copyAllScoresOnTrivialRebase = true
value = -2 Do not submit
value = -1 I would prefer that you didn't submit this
value = 0 No score
value = +1 Looks good to me, but someone else must approve
value = +2 Looks good to me, approved
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN
[label "Verified"]
function = MaxWithBlock
- copyAllScoresIfNoCodeChange = true
value = -1 Fails
value = 0 No score
value = +1 Verified
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE
[label "Code-Style"]
function = NoBlock
value = -1 Possible code style issues
value = 0 No score
value = +1 No obvious code style issues
defaultValue = 0
- copyAllScoresOnTrivialRebase = true
- copyAllScoresIfNoCodeChange = true
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
[access "refs/for/*"]
addPatchSet = group Registered Users
[capability]