Skip to main content

labels_match

Function labels_match 

Source
pub fn labels_match(wanted: &[String], labels: &[String]) -> bool
Expand description

Whether a job asking for wanted may run on runners registered with labels: every label it asks for is one of theirs. GitHub compares labels without regard to case. A job asking for no label, as one that names only a runner group, matches no runners: nothing says which pool it is for (ADR 0058).