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.
This commit is contained in:
Peter Jaszkowiak 2023-07-27 22:07:38 -06:00
parent 57ef889852
commit 4baa12bb94

View File

@ -402,6 +402,10 @@ message_on_add = """\
Issue #{number} "{title}" has been added. Issue #{number} "{title}" has been added.
""" """
[no-merges]
exclude_titles = ["Rollup of", "subtree update"]
labels = ["has-merge-commits", "S-waiting-on-author"]
[github-releases] [github-releases]
format = "rustc" format = "rustc"
project-name = "Rust" project-name = "Rust"