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/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.
  • Loading branch information
pitaj committed Jul 28, 2023
1 parent 0699d99 commit b57b711
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 @@ -310,6 +310,10 @@ message_on_add = """\
Issue #{number} "{title}" has been added.
"""

[no-merges]
exclude_labels = ["rollup", "sync"]
labels = ["has-merge-commits", "S-waiting-on-author"]

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

0 comments on commit b57b711

Please sign in to comment.