English | 한국어
The evaluation step evaluates the configured rules (Rule) and determines whether each label should be added, removed,
or kept.
- A condition (
Condition) is evaluated and returnstrue/false.- It checks whether the condition is satisfied and determines the result with the
negateoption.
- It checks whether the condition is satisfied and determines the result with the
- A match (
Match) is evaluated and returnspass/fail/skip.- It determines whether to evaluate or skip the match with the
skipIfBotoption. - It determines whether the match succeeds or fails from the condition evaluation results and the operator
(
any/all).
- It determines whether to evaluate or skip the match with the
- A rule (
Rule) is evaluated and returnsadd/remove/keep.- It determines the result from the match evaluation results and the
removeUnmatchedLabelsoption.
- It determines the result from the match evaluation results and the
- Within a match, conditions are short-circuited according to
operator: any/all. - Within a rule, if one match passes, the remaining matches do not need to be evaluated.
Note
See skipIfBot.
Note
- When at least one match is
pass, regardless of theremoveUnmatchedLabelsoption
- When
removeUnmatchedLabels: true, at least one evaluated (non-skip) match exists, and all of them arefail
- When all matches are
skip, regardless of theremoveUnmatchedLabelsoption - When
removeUnmatchedLabels: falseand the matches arefailorskip(that is, there is nopassmatch)