PR hook fix ISS ref
parent
d449236379
commit
d7296076bd
|
@ -17,7 +17,7 @@ module.exports = {
|
||||||
|
|
||||||
let body = pull_request.body
|
let body = pull_request.body
|
||||||
if(body.includes('> <code>')) {
|
if(body.includes('> <code>')) {
|
||||||
body = body.replaceAll(/\*\*ISS #\d+\*\*/g, `**ISS #${issueId}**`)
|
body = body.replaceAll(/ISS #\d+/g, `ISS #${issueId}`)
|
||||||
}else {
|
}else {
|
||||||
body += '\n\n'
|
body += '\n\n'
|
||||||
body += `**ISS #${issueId}**`
|
body += `**ISS #${issueId}**`
|
||||||
|
|
Loading…
Reference in New Issue