Migrate label configs to copy conditions
diff --git a/project.config b/project.config
index 96a00f0..af854de 100644
--- a/project.config
+++ b/project.config
@@ -50,9 +50,8 @@
value = 0 No score
value = +1 Looks good to me
value = +2 Looks good to be merged
- copyAllScoresIfNoCodeChange = true
- copyAllScoresOnTrivialRebase = true
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
# The Allow-CI label triggers the Open CI on the patch.
# It sets the Verified score.
@@ -62,14 +61,14 @@
value = +1 Approved for automated testing on Open CI, shallow tests
value = +2 Approved for automated testing on Open CI, in-depth tests
defaultValue = 0
+ copyCondition = changekind:NO_CHANGE
[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
[access "refs/for/refs/heads/*"]
pushMerge = group tf-rmm-approvers