We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ab816 commit 27974d8Copy full SHA for 27974d8
.github/workflows/scripts/prs/checkTypeLabel.js
@@ -10,14 +10,14 @@ const createEnumerationFromArray = (stringArray) =>
10
: stringArray.map((s) => `\`${s}\``).join('');
11
12
const typeLabels = [
13
- 'docs',
14
- 'release',
15
'bug',
16
- 'regression',
17
- 'maintenance',
18
- 'dependencies',
+ 'regression', // a sub-type of bug but we flatten it.
19
'enhancement',
20
'new feature',
+ // Those are not "Types" labels, they are "Kind of work" labels, but we don't want to have to handle the overhead of
+ // setting “Types” labels with them.
+ 'release',
+ 'dependencies',
21
];
22
const labelRegex = new RegExp(`\\b(${typeLabels.join('|')})\\b`, 'i');
23
0 commit comments