cleanup issue PR ref
nclazz/gitea-bot/pipeline/head This commit looks good Details

master
Niclas Thobaben 2022-07-09 12:31:23 +02:00
parent 598a43e118
commit d449236379
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 .+\*\*/g, `**ISS #${issueId}**`)
body = body.replaceAll(/\*\*ISS #\d+\*\*/g, `**ISS #${issueId}**`)
}else {
body += '\n\n'
body += `**ISS #${issueId}**`