Skip to content

Commit 2454658

Browse files
committed
Add rfcbot as a bot.
1 parent 64d3862 commit 2454658

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

rust_team_data/src/v1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ pub enum Bot {
155155
Highfive,
156156
Rustbot,
157157
RustTimer,
158+
Rfcbot,
158159
}
159160

160161
#[derive(Debug, Clone, Serialize, Deserialize)]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ fn run() -> Result<(), Error> {
203203
let mut teams = HashMap::new();
204204
let mut bots = Vec::new();
205205

206-
const BOTS: &[&str] = &["bors", "rust-highfive", "rust-timer", "rustbot"];
206+
const BOTS: &[&str] = &["bors", "rust-highfive", "rust-timer", "rustbot", "rfcbot"];
207207
let switch = |bot| {
208208
if bot == "rust-highfive" {
209209
"highfive".to_owned()

src/schema.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ pub(crate) enum Bot {
686686
Highfive,
687687
Rustbot,
688688
RustTimer,
689+
Rfcbot,
689690
}
690691

691692
#[derive(serde_derive::Deserialize, Debug)]

src/static_api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ impl<'a> Generator<'a> {
5757
Bot::Highfive => v1::Bot::Highfive,
5858
Bot::RustTimer => v1::Bot::RustTimer,
5959
Bot::Rustbot => v1::Bot::Rustbot,
60+
Bot::Rfcbot => v1::Bot::Rfcbot,
6061
})
6162
.collect(),
6263
teams: r

0 commit comments

Comments
 (0)