fix Branch naming
nclazz/gitea-bot/pipeline/head This commit looks good Details

master
Niclas Thobaben 2022-07-09 01:07:01 +02:00
parent 115512f6ea
commit a09742ddba
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module.exports = {
issue.body = issue.body || ''
let body
if(issue.body.includes('Branchname')) {
if(issue.body.includes('> <code>')) {
body = issue.body.replaceAll(/> <code>.+<\/code>/g, `> <code>${branchName}</code>`)
}else {
body = issue.body