Skip to content

Commit 8ada2ee

Browse files
authored
cosmetic updates to the triage bot's github comment (#272)
1 parent b2b045f commit 8ada2ee

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkgs/sdk_triage_bot/lib/triage.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,17 @@ Future<void> triage(
9696
// perform changes
9797
logger.log('## github comment');
9898
logger.log('');
99-
logger.log(summary);
100-
logger.log('');
10199
logger.log('labels: $classification');
100+
logger.log('');
101+
logger.log(summary);
102102

103103
var comment = '';
104104
if (classification.isNotEmpty) {
105+
comment += '**Labels:** ';
105106
comment += classification.map((l) => '`$l`').join(', ');
106107
comment += '\n';
107108
}
108-
comment += '> $summary\n';
109+
comment += '**Summary:** $summary\n';
109110

110111
// create github comment
111112
await githubService.createComment(sdkSlug, issueNumber, comment);

0 commit comments

Comments
 (0)