summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-07-17 12:07:25 +0200
committerPietro Albini <pietro@pietroalbini.org>2019-07-17 15:28:49 +0200
commit9a1c14813f3d66965e14e3570a2f3a96433e1bc6 (patch)
tree175fbe32780a505f7b5e595511e77db176eb9f70
parent9c657f238d9a1354536dcb0a2e89adf5dd6cef4b (diff)
synchronize the release team with github
-rw-r--r--docs/toml-schema.md2
-rw-r--r--src/schema.rs4
-rw-r--r--teams/release.toml3
3 files changed, 6 insertions, 3 deletions
diff --git a/docs/toml-schema.md b/docs/toml-schema.md
index 0147d6d..cc723e6 100644
--- a/docs/toml-schema.md
+++ b/docs/toml-schema.md
@@ -48,7 +48,7 @@ members = [
# Configure the GitHub integration
# This is optional, and if missing the team won't be synchronized with GitHub
[github]
-name = "overlords-team" # The name of the GitHub team (optional)
+team-name = "overlords-team" # The name of the GitHub team (optional)
orgs = ["rust-lang"] # Organizations to create the team in (required)
# Define the mailing lists used by the team
diff --git a/src/schema.rs b/src/schema.rs
index 779e86c..fd91120 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -223,7 +223,7 @@ impl Team {
pub(crate) fn github_teams(&self) -> Vec<(&str, &str)> {
if let Some(github) = &self.github {
let name = github
- .name
+ .team_name
.as_ref()
.map(|n| n.as_str())
.unwrap_or(&self.name);
@@ -250,7 +250,7 @@ struct TeamPeople {
#[derive(serde::Deserialize, Debug)]
#[serde(rename_all = "kebab-case", deny_unknown_fields)]
struct GitHubData {
- name: Option<String>,
+ team_name: Option<String>,
orgs: Vec<String>,
}
diff --git a/teams/release.toml b/teams/release.toml
index 8bc2cc5..d8f8049 100644
--- a/teams/release.toml
+++ b/teams/release.toml
@@ -25,6 +25,9 @@ crater = true
perf = true
bors.rust.review = true
+[github]
+orgs = ["rust-lang"]
+
[rfcbot]
label = "T-release"
name = "Release"