Skip to content

Commit b57b711

Browse files
committed
Enable triagebot no-merges check
This configuration will exclude rollup PRs and subtree/submodule sync PRs from merge commit detection, and it will post the default warning message and add the `has-merge-commits` and `S-waiting-on-author` labels when merge commits are detected on other PRs. 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 0699d99 commit b57b711

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
@@ -310,6 +310,10 @@ message_on_add = """\
310310
Issue #{number} "{title}" has been added.
311311
"""
312312

313+
[no-merges]
314+
exclude_labels = ["rollup", "sync"]
315+
labels = ["has-merge-commits", "S-waiting-on-author"]
316+
313317
[github-releases]
314318
format = "rustc"
315319
project-name = "Rust"

0 commit comments

Comments
 (0)