Skip to content

Commit 2b7a64d

Browse files
authored
Merge pull request #2497 from Kobzol/rollup-never-note
Add `rustc-perf` PR note when marking PRs as rollup=never
2 parents 3347209 + 771e04a commit 2b7a64d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

site/src/github/comparison_summary.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,9 @@ fn try_run_body(is_regression: bool, deserves_attention: bool) -> String {
352352
// We don't remove `rollup=never` if perf does not deserve attention, as sometimes there are multiple perf. runs on the same PR,
353353
// and it's not always the case that the latest version that gets approved is the one for which we ran perf.
354354
let rollup_never = if deserves_attention {
355-
"@bors rollup=never"
355+
// We set the PR note to "rustc-perf", which will be interpreted by bors to mark the PR
356+
// as having significant performance results.
357+
"@bors rollup=never rustc-perf"
356358
} else {
357359
""
358360
};

0 commit comments

Comments
 (0)