Skip to content
Snippets Groups Projects
Unverified Commit 3f75bd7c authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

fix: massage/truncate variable length comments (#7819)

Closes #7775
parent 91bc90c7
Branches
No related tags found
No related merge requests found
......@@ -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') ||
......
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment