mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 15:36:25 +00:00
fix: massage rebase check PR comment (#22079)
This commit is contained in:
parent
9b96e07391
commit
b02856b1fc
4 changed files with 16 additions and 0 deletions
|
@ -775,6 +775,10 @@ export function massageMarkdown(input: string): string {
|
|||
'you tick the rebase/retry checkbox',
|
||||
'rename PR to start with "rebase!"'
|
||||
)
|
||||
.replace(
|
||||
'checking the rebase/retry box above',
|
||||
'renaming the PR to start with "rebase!"'
|
||||
)
|
||||
.replace(regEx(`\n---\n\n.*?<!-- rebase-check -->.*?\n`), '')
|
||||
.replace(regEx(/<!--renovate-(?:debug|config-hash):.*?-->/g), '');
|
||||
}
|
||||
|
|
|
@ -974,6 +974,10 @@ export function massageMarkdown(input: string): string {
|
|||
'you tick the rebase/retry checkbox',
|
||||
'rename PR to start with "rebase!"'
|
||||
)
|
||||
.replace(
|
||||
'checking the rebase/retry box above',
|
||||
'renaming the PR to start with "rebase!"'
|
||||
)
|
||||
.replace(regEx(/<\/?summary>/g), '**')
|
||||
.replace(regEx(/<\/?details>/g), '')
|
||||
.replace(regEx(`\n---\n\n.*?<!-- rebase-check -->.*?(\n|$)`), '')
|
||||
|
|
|
@ -519,6 +519,10 @@ export function massageMarkdown(input: string): string {
|
|||
'you tick the rebase/retry checkbox',
|
||||
'by renaming this PR to start with "rebase!"'
|
||||
)
|
||||
.replace(
|
||||
'checking the rebase/retry box above',
|
||||
'renaming the PR to start with "rebase!"'
|
||||
)
|
||||
.replace(regEx(/<\/?summary>/g), '**')
|
||||
.replace(regEx(/<\/?(details|blockquote)>/g), '')
|
||||
.replace(regEx(`\n---\n\n.*?<!-- rebase-check -->.*?\n`), '')
|
||||
|
|
|
@ -307,6 +307,10 @@ export function massageMarkdown(input: string): string {
|
|||
'you tick the rebase/retry checkbox',
|
||||
'rename PR to start with "rebase!"'
|
||||
)
|
||||
.replace(
|
||||
'checking the rebase/retry box above',
|
||||
'renaming the PR to start with "rebase!"'
|
||||
)
|
||||
.replace(regEx(/<\/?summary>/g), '**')
|
||||
.replace(regEx(/<\/?details>/g), '')
|
||||
.replace(regEx(`\n---\n\n.*?<!-- rebase-check -->.*?\n`), '')
|
||||
|
|
Loading…
Reference in a new issue