From a8f762589762ba3db7ff5c132ddac0a7531642cb Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Tue, 10 Mar 2026 15:59:44 +0100 Subject: [PATCH] feat(changelog): categorize perf, a11y, docs commits in endpoint-github changelog patch --- scripts/patch-endpoint-github-changelog-categories.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/patch-endpoint-github-changelog-categories.mjs b/scripts/patch-endpoint-github-changelog-categories.mjs index e8f742ca..efd8e6d1 100644 --- a/scripts/patch-endpoint-github-changelog-categories.mjs +++ b/scripts/patch-endpoint-github-changelog-categories.mjs @@ -34,13 +34,19 @@ const CATEGORY_LABELS = { const newCategorize = `function categorizeCommit(title) { if (/^feat[:(]/i.test(title)) return "features"; - if (/^fix\\b/i.test(title)) return "fixes"; + if (/^fix[:(]/i.test(title)) return "fixes"; + if (/^perf[:(]/i.test(title)) return "performance"; + if (/^a11y[:(]/i.test(title)) return "accessibility"; + if (/^docs[:(]/i.test(title)) return "documentation"; return "other"; } const CATEGORY_LABELS = { features: "Features", fixes: "Fixes", + performance: "Performance", + accessibility: "Accessibility", + documentation: "Documentation", other: "Other", };`;