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 Sep 11, 2023
1 parent 68c2f5b commit 59bd741
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_labels = ["rollup", "subtree-sync"]
labels = ["has-merge-commits", "S-waiting-on-author"]

[github-releases]
format = "rustc"
project-name = "Rust"
Expand Down

0 comments on commit 59bd741

Please sign in to comment.