summaryrefslogtreecommitdiffstats
path: root/.github/advanced-issue-labeler.yml
blob: 9a5ce50a72e1c1fffcaf5dd31186a0fbecfad53f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Defines the mappings between GitHub issue responses and labels applied to the issue.
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# For more information, see:
# https://github.com/redhat-plumbers-in-action/advanced-issue-labeler

policy:
  - section:

    # Issue Template - Urgency Dropdown
    - id: ['urgency']
      block-list: []
      label:
        - name: 'priority:low'
          keys: ['Low']
        - name: 'priority:medium'
          keys: ['Medium']
        - name: 'priority:high'
          keys: ['High']

    # Issue Template - Code First
    - id: ['code_first']
      block-list: []
      label:
        - name: 'type:code-first'
          keys: ['Yes']

    # Issue Template - Fix Owner Dropdown
    - id: ['fix_owner', 'request_owner']
      block-list: []
      label:
        - name: 'state:needs-owner'
          keys: [
            'Someone else needs to fix it',
            'Someone else needs to make the change',
            'Someone else needs to implement the feature'
            ]
        - name: 'state:needs-triage'
          keys: [
            'Someone else needs to fix it',
            'Someone else needs to make the change',
            'Someone else needs to implement the feature'
            ]

    # Issue Template - Needs Maintainer Feedback Dropdown
    - id: ['needs_maintainer_feedback']
      block-list: []
      label:
        - name: 'state:needs-maintainer-feedback'
          keys: ['Maintainer feedback requested']

    # Issue Template - Packages Impacted
    - id: ['packages_impacted']
      block-list: []
      label:
        - name: 'package:armpkg'
          keys: ['ArmPkg']
        - name: 'package:armplatformpkg'
          keys: ['ArmPlatformPkg']
        - name: 'package:armvirtpkg'
          keys: ['ArmVirtPkg']
        - name: 'package:basetools'
          keys: ['BaseTools']
        - name: 'package:build-or-ci-code'
          keys: ['Build or CI Code']
        - name: 'package:cryptopkg'
          keys: ['CryptoPkg']
        - name: 'package:dynamictablespkg'
          keys: ['DynamicTablesPkg']
        - name: 'package:embeddedpkg'
          keys: ['EmbeddedPkg']
        - name: 'package:emulatorpkg'
          keys: ['EmulatorPkg']
        - name: 'package:fatpkg'
          keys: ['FatPkg']
        - name: 'package:fmpdevicepkg'
          keys: ['FmpDevicePkg']
        - name: 'package:intelfsp2pkg'
          keys: ['IntelFsp2Pkg']
        - name: 'package:intelfsp2wrapperpkg'
          keys: ['IntelFsp2WrapperPkg']
        - name: 'package:mdemodulepkg'
          keys: ['MdeModulePkg']
        - name: 'package:mdepkg'
          keys: ['MdePkg']
        - name: 'package:networkpkg'
          keys: ['NetworkPkg']
        - name: 'package:ovmfpkg'
          keys: ['OvmfPkg']
        - name: 'package:pcatchipsetpkg'
          keys: ['PcAtChipsetPkg']
        - name: 'package:prmpkg'
          keys: ['PrmPkg']
        - name: 'package:redfishpkg'
          keys: ['RedfishPkg']
        - name: 'package:securitypkg'
          keys: ['SecurityPkg']
        - name: 'package:shellpkg'
          keys: ['ShellPkg']
        - name: 'package:signedcapsulepkg'
          keys: ['SignedCapsulePkg']
        - name: 'package:sourceleveldebugpkg'
          keys: ['SourceLevelDebugPkg']
        - name: 'package:standalonemmpkg'
          keys: ['StandaloneMmPkg']
        - name: 'package:ueficpupkg'
          keys: ['UefiCpuPkg']
        - name: 'package:uefipayloadpkg'
          keys: ['UefiPayloadPkg']
        - name: 'package:unittestframeworkpkg'
          keys: ['UnitTestFrameworkPkg']
        - name: 'package:other'
          keys: ['Other']