Skip to content

Commit 59bd741

Browse files
committed
Enable triagebot no-merges check
This configuration will exclude rollup PRs and subtree sync PRs from merge commit detection. On other PRs, it will post the default warning message and add the `has-merge-commits` and `S-waiting-on-author` labels when merge commits are detected. The eventual vision is to have bors refuse to merge if the `has-merge-commits` label is present. A reviewer can still force the merge by removing that label if they so wish.
1 parent 68c2f5b commit 59bd741

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

triagebot.toml

+4
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,10 @@ message_on_add = """\
402402
Issue #{number} "{title}" has been added.
403403
"""
404404

405+
[no-merges]
406+
exclude_labels = ["rollup", "subtree-sync"]
407+
labels = ["has-merge-commits", "S-waiting-on-author"]
408+
405409
[github-releases]
406410
format = "rustc"
407411
project-name = "Rust"

0 commit comments

Comments
 (0)