@@ -15,7 +15,13 @@ For example, the `rust-lang/rust` repository is configured to automatically post
1515
1616## Configuration
1717
18- This feature is enabled on a repository by having a ` [notify-zulip] ` table in ` triagebot.toml ` :
18+ This feature is enabled on a repository by having a ` [notify-zulip] ` table in ` triagebot.toml ` .
19+
20+ Some of the messages support substitutions:
21+ - ` {number} ` is replaced with the issue/PR number.
22+ - ` {title} ` is replaced with the issue/PR title.
23+ - ` {recipients} ` is replaced with a list of mentions of the people involved in the
24+ issue/PR: the author and the assignees.
1925
2026``` toml
2127# Triggers a Zulip notification based on the given label name.
@@ -25,8 +31,7 @@ This feature is enabled on a repository by having a `[notify-zulip]` table in `t
2531zulip_stream = 245100 # #t-compiler/prioritization/alerts
2632
2733# The Zulip topic to post to.
28- # {number} is replaced with the issue/PR number.
29- # {title} is replaced with the issue/PR title.
34+ # Supports {number} and {title} substitution.
3035topic = " #{number} {title}"
3136
3237# Optional message to be posted on GitHub when opening the Zulip topic.
@@ -35,19 +40,19 @@ topic = "#{number} {title}"
3540github_comment = " [Zulip topic]({zulip_topic_url}) was opened to discuss this issue."
3641
3742# The message to post when the label is added.
38- # Supports {number} and {title } substitution.
43+ # Supports {number}, {title}, and {recipients } substitution.
3944message_on_add = " Issue #{number} \" {title}\" has been added."
4045
4146# The message to post when the label is removed.
42- # Supports {number} and {title } substitution.
47+ # Supports {number}, {title}, and {recipients } substitution.
4348message_on_remove = " Issue #{number}'s nomination has been removed. Thanks all for participating!"
4449
4550# The message to post when the issue/PR is closed and it has the label.
46- # Supports {number} and {title } substitution.
51+ # Supports {number}, {title}, and {recipients } substitution.
4752message_on_close = " Issue #{number} has been closed. Thanks for participating!"
4853
4954# The message to post when the issue/PR is reopened and it has the label.
50- # Supports {number} and {title } substitution.
55+ # Supports {number}, {title}, and {recipients } substitution.
5156message_on_reopen = " Issue #{number} has been reopened. Pinging @*T-types*."
5257
5358# The Zulip notification will not be posted unless the issue/PR has all of these labels.
0 commit comments