Skip to content

Commit

Permalink
Rollup merge of #107631 - BoxyUwU:triagebot_cargo_lock, r=compiler-er…
Browse files Browse the repository at this point in the history
…rors

loudly tell people when they change `Cargo.lock`

It keeps happening that people accidentally commit changes to `Cargo.lock` and then have to be told by a reviewer to undo this. I've also seen cases where PRs are merged that accidentally changed `Cargo.lock` during a rebase.. I figure that purposeful changes to `Cargo.lock` are likely rarer than these accidental ones?
  • Loading branch information
compiler-errors authored Feb 3, 2023
2 parents 72599c6 + b83078f commit ef520bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,14 @@ These commits modify **compiler targets**.
[mentions."src/doc/style-guide"]
cc = ["@rust-lang/style"]

[mentions."Cargo.lock"]
message = """
These commits modify the `Cargo.lock` file. Random changes to `Cargo.lock` can be introduced when switching branches and rebasing PRs.
This was probably unintentional and should be reverted before this PR is merged.
If this was intentional then you can ignore this comment.
"""

[assign]
warn_non_default_branch = true
contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
Expand Down

0 comments on commit ef520bd

Please sign in to comment.