about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Jaszkowiak <p.jaszkow@gmail.com>2023-07-27 22:07:38 -0600
committerPeter Jaszkowiak <p.jaszkow@gmail.com>2023-10-15 19:16:28 -0600
commit4baa12bb94d0b7408cb63fc7d111c5f20b963173 (patch)
tree320e7dfb0eb9fc8a62de74c3544912a33bec57aa
parent57ef8898520f7ff2c60341636bb86d94cb550e79 (diff)
downloadrust-4baa12bb94d0b7408cb63fc7d111c5f20b963173.tar.gz
rust-4baa12bb94d0b7408cb63fc7d111c5f20b963173.zip
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.
-rw-r--r--triagebot.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/triagebot.toml b/triagebot.toml
index 4b051db0d73..dd96ac4ae68 100644
--- a/triagebot.toml
+++ b/triagebot.toml
@@ -402,6 +402,10 @@ message_on_add = """\
 Issue #{number} "{title}" has been added.
 """
 
+[no-merges]
+exclude_titles = ["Rollup of", "subtree update"]
+labels = ["has-merge-commits", "S-waiting-on-author"]
+
 [github-releases]
 format = "rustc"
 project-name = "Rust"