From d7296076bd6efae642e932ceca3ab753bae35334 Mon Sep 17 00:00:00 2001 From: Niclas Thobaben Date: Sat, 13 Aug 2022 17:37:14 +0200 Subject: [PATCH] PR hook fix ISS ref --- src/hooks/issuePrRef.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/issuePrRef.js b/src/hooks/issuePrRef.js index 10143dd..271fccf 100644 --- a/src/hooks/issuePrRef.js +++ b/src/hooks/issuePrRef.js @@ -17,7 +17,7 @@ module.exports = { let body = pull_request.body if(body.includes('> ')) { - body = body.replaceAll(/\*\*ISS #\d+\*\*/g, `**ISS #${issueId}**`) + body = body.replaceAll(/ISS #\d+/g, `ISS #${issueId}`) }else { body += '\n\n' body += `**ISS #${issueId}**`