Labels on confidential issues
I have a number of triage operations that look a bit like this:
.ensure-single-priority: &ensure-single-priority name: Each resource should have exactly one priority label conditions: state: opened ruby: | (labels.map(&:name) & ['Priority:High', 'Priority:Medium', 'Priority:Low']).size != 1 actions: ...
and that works fine for resources that are not confidential. However, for confidential resources the Ruby condition is always
true, so we end up getting comments and other actions on resources that do have exactly one priority label.
Is this intended behaviour that I missed in the docs?