diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-04-09 00:18:33 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-04-09 00:20:32 +0200 |
| commit | eed88e44307bf57db34afe59f8d6a60845131f19 (patch) | |
| tree | 3b1c74ed8938518d7aa4552bd2fed97cec8dec56 | |
| parent | 97bb0639585096faa050b80a289836e46ddc3210 (diff) | |
| download | rust-eed88e44307bf57db34afe59f8d6a60845131f19.tar.gz rust-eed88e44307bf57db34afe59f8d6a60845131f19.zip | |
Enable GitHub review synchronization with S-waiting-on-* labels
Straight from triagebot's documentation, this should allow the bot to set and remove the `S-waiting-on-author` and `S-waiting-on-review` labels when a PR author requests a review, or when a review is done with changes requested.
| -rw-r--r-- | triagebot.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/triagebot.toml b/triagebot.toml index 981ad91852e..4887ea84bc1 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -18,6 +18,18 @@ allow-unauthenticated = [ exclude_titles = ["Rustup"] # exclude syncs from rust-lang/rust labels = ["has-merge-commits", "S-waiting-on-author"] +[review-requested] +# Those labels are removed when PR author requests a review from an assignee +remove_labels = ["S-waiting-on-author"] +# Those labels are added when PR author requests a review from an assignee +add_labels = ["S-waiting-on-review"] + +[review-submitted] +# These labels are removed when a review is submitted. +review_labels = ["S-waiting-on-review"] +# This label is added when a review is submitted. +reviewed_label = "S-waiting-on-author" + [autolabel."S-waiting-on-review"] new_pr = true |
