|
| 1 | +# labeler "full" schema |
| 2 | + |
| 3 | +# enable labeler on issues, prs, or both. |
| 4 | +enable: |
| 5 | + issues: true |
| 6 | + prs: true |
| 7 | + |
| 8 | +# Labels is an object where: |
| 9 | +# - keys are labels |
| 10 | +# - values are objects of { include: [ pattern ], exclude: [ pattern ] } |
| 11 | +# - pattern must be a valid regex, and is applied globally to |
| 12 | +# title + description of issues and/or prs (see enabled config above) |
| 13 | +# - 'include' patterns will associate a label if any of these patterns match |
| 14 | +# - 'exclude' patterns will ignore this label if any of these patterns match |
| 15 | +labels: |
| 16 | + ":bug: BUG": |
| 17 | + include: ['\bBug\b', '\bbug\b', '\bFix\b', '\bfix\b'] |
| 18 | + ":sparkles: FEAT": |
| 19 | + include: ['\bFeat\b', '\bfeat\b', '\bFeature\b', '\bfeature\b'] |
| 20 | + ":memo: DOCS": |
| 21 | + include: ['\bDocs\b', '\bdocs\b', '\bREADME\b'] |
| 22 | + ":package: CHORE": |
| 23 | + include: ['\bChore\b', '\bchore\b'] |
| 24 | + ":lipstick: DESIGN": |
| 25 | + include: ['\bDesign\b', '\bdesign\b'] |
| 26 | + ":rocket: API": |
| 27 | + include: ['\bAPI\b', '\bapi\b'] |
| 28 | + ":recycle: REFACTOR": |
| 29 | + include: ['\bRefactor\b', '\brefactor\b'] |
| 30 | + ":wrench: INIT": |
| 31 | + include: ['\bINIT\b', '\bInit\b', '\binit\b'] |
| 32 | + ":twisted_rightwards_arrows: MERGE": |
| 33 | + include: ['\bMERGE\b', '\bMerge\b', '\bmerge\b'] |
| 34 | + ":ambulance: !HOTFIX": |
| 35 | + include: ['\bHOTFIX\b', '\bhotfix\b'] |
| 36 | + ":bookmark: RELEASE": |
| 37 | + include: ['\bRelease\b', '\brelease\b'] |
0 commit comments