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 d9946d8 commit 4acbfb7Copy full SHA for 4acbfb7
harmonizer/release_types.ts
@@ -56,6 +56,11 @@ const releaseGroupTypeMatchers: Array<{ type?: ReleaseGroupType; pattern: RegExp
56
export function guessTypesFromTitle(title: string): Set<ReleaseGroupType> {
57
const types = new Set<ReleaseGroupType>();
58
releaseGroupTypeMatchers.forEach((matcher) => {
59
+ if (matcher.type && types.has(matcher.type)) {
60
+ // Release has already been assigned this type.
61
+ return;
62
+ }
63
+
64
const match = title.match(matcher.pattern);
65
if (!match) {
66
return;
0 commit comments