Skip to content

Commit

Permalink
Enable triagebot no-merges check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pitaj committed Oct 16, 2023
1 parent 57ef889 commit 4baa12b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4baa12b

Please sign in to comment.