diff --git a/lib/workers/branch/index.ts b/lib/workers/branch/index.ts index eee1ebced15b1372bca15924a8bb4fb607ea645e..25d05a5cfdf954f91c00387aee2f98537a227ccb 100644 --- a/lib/workers/branch/index.ts +++ b/lib/workers/branch/index.ts @@ -619,6 +619,7 @@ export async function processBranch( content += `##### File name: ${error.lockFile}\n\n`; content += `\`\`\`\n${error.stderr}\n\`\`\`\n\n`; }); + content = platform.getPrBody(content); if ( !( config.suppressNotifications.includes('artifactErrors') || diff --git a/lib/workers/pr/index.ts b/lib/workers/pr/index.ts index ed4412a7830eca39891b4d1dc444d99cc1eced0a..40a3cac68625370e62019ae9b2dace407c3b5c90 100644 --- a/lib/workers/pr/index.ts +++ b/lib/workers/pr/index.ts @@ -425,6 +425,7 @@ export async function ensurePr( if (config.branchAutomergeFailureMessage === 'branch status error') { content += '\n___\n * Branch has one or more failed status checks'; } + content = platform.getPrBody(content); logger.debug('Adding branch automerge failure message to PR'); // istanbul ignore if if (config.dryRun) {