From 4aba6c1cb3d59265dc1b95027b8dece9d0e73434 Mon Sep 17 00:00:00 2001 From: Logan McAnsh Date: Mon, 11 Jul 2022 12:43:06 -0400 Subject: [PATCH] chore(ci): allow for optional colon when parsing PR description --- scripts/release/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/github.ts b/scripts/release/github.ts index 40737e753a3..12ff5aa78a6 100644 --- a/scripts/release/github.ts +++ b/scripts/release/github.ts @@ -242,7 +242,7 @@ export async function getIssuesClosedByPullRequests( * https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword */ let regex = - /(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved)\s#([0-9]+)/gi; + /(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved)(:)?\s#([0-9]+)/gi; let matches = prBody.match(regex); if (!matches) return linkedIssues.map((issue) => issue.number);