cleanup issue PR ref
nclazz/gitea-bot/pipeline/head This commit looks good
Details
nclazz/gitea-bot/pipeline/head This commit looks good
Details
parent
598a43e118
commit
d449236379
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
|
||||
let body = pull_request.body
|
||||
if(body.includes('> <code>')) {
|
||||
body = body.replaceAll(/\*\*ISS .+\*\*/g, `**ISS #${issueId}**`)
|
||||
body = body.replaceAll(/\*\*ISS #\d+\*\*/g, `**ISS #${issueId}**`)
|
||||
}else {
|
||||
body += '\n\n'
|
||||
body += `**ISS #${issueId}**`
|
||||
|
|
Loading…
Reference in New Issue