Migrate label configs to copy conditions
diff --git a/project.config b/project.config
index 30af039..d2e8282 100644
--- a/project.config
+++ b/project.config
@@ -95,9 +95,8 @@
value = -1 I would prefer this is not merged as is
value = 0 No score
value = +1 Looks good to me
- copyAllScoresIfNoCodeChange = true
- copyAllScoresOnTrivialRebase = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
# In addition, define our 2 custom labels for code review.
# These influence whether a patch is submittable.
@@ -106,24 +105,21 @@
value = -1 I would prefer this is not merged as is
value = 0 No score
value = +1 Looks good to me
- copyAllScoresIfNoCodeChange = true
- copyAllScoresOnTrivialRebase = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
[label "Maintainer-Review"]
function = MaxWithBlock
value = -1 I would prefer this is not merged as is
value = 0 No score
value = +1 Looks good to me
- copyAllScoresIfNoCodeChange = true
- copyAllScoresOnTrivialRebase = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
[label "Verified"]
function = MaxWithBlock
value = -1 Fails
value = 0 No score
value = +1 Verified
- copyAllScoresIfNoCodeChange = true
- copyAllScoresOnTrivialRebase = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE