PR hook fix ISS ref

master
Niclas Thobaben 2022-08-13 17:37:14 +02:00
parent d449236379
commit d7296076bd
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ module.exports = {
let body = pull_request.body
if(body.includes('> <code>')) {
body = body.replaceAll(/\*\*ISS #\d+\*\*/g, `**ISS #${issueId}**`)
body = body.replaceAll(/ISS #\d+/g, `ISS #${issueId}`)
}else {
body += '\n\n'
body += `**ISS #${issueId}**`