From 9d8302c50c34ae83bfd02e287279be8571eaf027 Mon Sep 17 00:00:00 2001 From: Urgau Date: Sun, 22 Feb 2026 21:44:01 +0100 Subject: [PATCH 1/2] Add automatic creation of FCP Zulip topics with triagebot --- triagebot.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/triagebot.toml b/triagebot.toml index eb8442ab21e2..21784ee88c02 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -60,6 +60,26 @@ labels = ["S-waiting-on-concerns"] [view-all-comments-link] threshold = 20 +[notify-zulip."lint-nominated"] +zulip_stream = 257328 # #clippy +topic = "FCP rust-clippy#{number}: {title}" +# Zulip polls may not be preceded by any other text and pings & short links inside +# the title of a poll don't get recognized. Therefore we need to send two messages. +message_on_add = [ + """\ +PR rust-clippy#{number} "{title}" has been nominated for lint inclusion. +""", + """\ +/poll Approve lint inclusion of rust-clippy#{number}? +approve +decline +don't know +""", +] +message_on_remove = "PR rust-clippy#{number} lint nomination has been removed." +message_on_close = "PR rust-clippy#{number} has been closed. Thanks for participating!" +message_on_reopen = "PR rust-clippy#{number} has been reopened." + [assign] contributing_url = "https://github.com/rust-lang/rust-clippy/blob/master/CONTRIBUTING.md" users_on_vacation = [ From cd8bee3e33f4a7f641b00bada1ca79f6315a1d6a Mon Sep 17 00:00:00 2001 From: Urgau <3616612+Urgau@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:16:48 +0100 Subject: [PATCH 2/2] Use clippy/fcp stream Co-authored-by: Philipp Krones --- triagebot.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triagebot.toml b/triagebot.toml index 21784ee88c02..b865a2821c1c 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -61,7 +61,7 @@ labels = ["S-waiting-on-concerns"] threshold = 20 [notify-zulip."lint-nominated"] -zulip_stream = 257328 # #clippy +zulip_stream = 577190 # #clippy/fcp topic = "FCP rust-clippy#{number}: {title}" # Zulip polls may not be preceded by any other text and pings & short links inside # the title of a poll don't get recognized. Therefore we need to send two messages.