diff --git a/tools/pull_request_hooks/changelogConfig.js b/tools/pull_request_hooks/changelogConfig.js index c97f01ad22..46b28f8d73 100644 --- a/tools/pull_request_hooks/changelogConfig.js +++ b/tools/pull_request_hooks/changelogConfig.js @@ -33,7 +33,7 @@ export const CHANGELOG_ENTRIES = [ ], [ - ["qol"], + ["qol", "tweak"], { placeholders: ["made something easier to use"], }, diff --git a/tools/pull_request_hooks/changelogParser.js b/tools/pull_request_hooks/changelogParser.js index 2daa2a5798..76e9e216c0 100644 --- a/tools/pull_request_hooks/changelogParser.js +++ b/tools/pull_request_hooks/changelogParser.js @@ -40,7 +40,7 @@ function parseChangelogBody(lines, openTag) { if (match) { const [_, type, description] = match; - const entry = CHANGELOG_KEYS_TO_ENTRY[type]; + const entry = CHANGELOG_KEYS_TO_ENTRY[type] || CHANGELOG_KEYS_TO_ENTRY["rscadd"]; if (entry.placeholders.includes(description)) { continue;