Skip to content

Inferred labels that are non scoped subtype labels

I feel that serverless would be best placed to apply type labels from subtype labels that do not have a matching prefix

    TYPE_LABELS = {
      'feature' => [
        'enhancement'
      ],
      'bug' => [
        'security'
      ],
      'tooling' => []
    }.freeze

But there appears to be certain scenarios with this when new subtype labels are applied and a type label already exists.

For example:

  1. Issue has featureaddition label
  2. ~feature label has been inferred
  3. What should happen if ~performance is added?

Related issue:

Edited by Mark Fletcher