Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: massage/truncate variable length comments #7819

Merged
merged 1 commit into from Nov 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/workers/branch/index.ts
Expand Up @@ -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') ||
Expand Down
1 change: 1 addition & 0 deletions lib/workers/pr/index.ts
Expand Up @@ -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) {
Expand Down