Update issue-detection RegEx

Joseph T Lyons created

Change summary

script/danger/dangerfile.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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",
 );