diff --git a/script/danger/dangerfile.ts b/script/danger/dangerfile.ts index 8ff691774d..3c64c457ac 100644 --- a/script/danger/dangerfile.ts +++ b/script/danger/dangerfile.ts @@ -37,7 +37,7 @@ if (!hasReleaseNotes) { } const ISSUE_LINK_PATTERN = new RegExp( - "(?:^|\\s)(?:#(\\d+)|https:\\/\\/github\\.com\\/zed-industries\\/zed\\/issues\\/(\\d+))", + "(?:https://github\\.com/[\\w-]+/[\\w-]+/issues/\\d+|#\\d+)", "g", );