Skip to content

Commit

Permalink
Add a triagebot mention for library/Cargo.lock
Browse files Browse the repository at this point in the history
Since [1], `Cargo.lock` was split into `Cargo.lock` and
`library/Cargo.lock`. Update Triagebot to give the same warning for both.

[1]: rust-lang#128534
  • Loading branch information
tgross35 authored Aug 5, 2024
1 parent 2b78d92 commit c369c20
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 @@ -778,6 +778,14 @@ If this was unintentional then you should revert the changes before this PR is m
Otherwise, you can ignore this comment.
"""

[mentions."library/Cargo.lock"]
message = """
These commits modify the `library/Cargo.lock` file. Unintentional changes to `library/Cargo.lock` can be introduced when switching branches and rebasing PRs.
If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.
"""

[mentions."src/tools/x"]
message = "`src/tools/x` was changed. Bump version of Cargo.toml in `src/tools/x` so tidy will suggest installing the new version."

Expand Down

0 comments on commit c369c20

Please sign in to comment.