From ec5d6e96bb304886f49680b54e58c9b0e7221cd6 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Mon, 14 Oct 2024 01:50:46 +0300 Subject: [PATCH] Make `danger` to output less false-positives (#19151) --- script/danger/dangerfile.ts | 5 +++-- typos.toml | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/script/danger/dangerfile.ts b/script/danger/dangerfile.ts index be014dbe1d..4ffe1459df 100644 --- a/script/danger/dangerfile.ts +++ b/script/danger/dangerfile.ts @@ -37,10 +37,11 @@ if (!hasReleaseNotes) { } const ISSUE_LINK_PATTERN = new RegExp( - "https://github\\.com/[\\w-]+/[\\w-]+/issues/\\d+", - "g", + "(?