]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #80543 - LeSeulArtichaut:notify-close, r=spastorino
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 29 Aug 2021 14:25:26 +0000 (16:25 +0200)
committerGitHub <noreply@github.com>
Sun, 29 Aug 2021 14:25:26 +0000 (16:25 +0200)
Notify when an `I-prioritize` issue is closed or reopened

Companion PR to rust-lang/triagebot#1078, blocked on that PR.
r? ``@spastorino`` cc ``@rust-lang/wg-prioritization``

1  2 
triagebot.toml

diff --cc triagebot.toml
index 81c6719647fc1476ff7bf3d2bbc5ddb9e154f8aa,66cad406d4839a5228a60fde2e7875c3fb969e24..1e4df4d3fb79a58185907d63c0574bdeb779ec16
@@@ -102,24 -101,9 +102,26 @@@ message_on_add = """
  - Needs `I-nominated`?
  """
  message_on_remove = "Issue #{number}'s prioritization request has been removed."
+ message_on_close = "Issue #{number} has been closed while requested for prioritization."
+ message_on_reopen = "Issue #{number} has been reopened."
  
 +[notify-zulip."T-rustdoc"]
 +required_labels = ["I-nominated"]
 +zulip_stream = 266220 # #rustdoc
 +topic = "nominated: #{number}"
 +message_on_add = """\
 +@*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
 +"""
 +message_on_remove = "Issue #{number}'s nomination request has been removed."
 +
 +[notify-zulip."A-edition-2021"]
 +required_labels = ["C-bug"]
 +zulip_stream = 268952 # #edition 2021
 +topic = "Edition Bugs"
 +message_on_add = """\
 +Issue #{number} "{title}" has been added.
 +"""
 +
  [github-releases]
  format = "rustc"
  project-name = "Rust"