mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-01 22:14:52 +00:00
feat: Add ignore flag
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -31,15 +31,15 @@ export async function generate(
|
||||
|
||||
if (!title) continue;
|
||||
|
||||
flag = trim(flag);
|
||||
if (flag === "ignore") continue;
|
||||
|
||||
type = trim(type);
|
||||
type =
|
||||
(TYPES as { [type: string]: string | undefined })[type] ?? TYPES.other;
|
||||
|
||||
category = category ? trim(category) : "";
|
||||
|
||||
flag = trim(flag);
|
||||
if (flag !== "breaking") flag = undefined as never;
|
||||
|
||||
title = trim(title).replace(
|
||||
PR_REGEX,
|
||||
(match, pull) => `[${match}](${repoUrl}/pull/${pull})`,
|
||||
|
||||
Reference in new issue
Block a user