From 0ca29534011c683e4aa891e3a3be8db50ac13b26 Mon Sep 17 00:00:00 2001 From: Jan David Date: Wed, 4 Oct 2023 11:57:40 +0200 Subject: [PATCH 1/2] Add rustup repository The permissions for the rust-lang/rust repository are out-of-date, and instead of manually updating them we want to manage the repository automatically. --- repos/rust-lang/rustup.toml | 11 +++++++++++ teams/rustup.toml | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 repos/rust-lang/rustup.toml diff --git a/repos/rust-lang/rustup.toml b/repos/rust-lang/rustup.toml new file mode 100644 index 000000000..a95eeaaac --- /dev/null +++ b/repos/rust-lang/rustup.toml @@ -0,0 +1,11 @@ +org = "rust-lang" +name = "rustup" +description = "The Rust toolchain installer" +bots = ["rustbot"] + +[access.teams] +rustup = "maintain" +mods = "maintain" + +[[branch-protections]] +pattern = "master" diff --git a/teams/rustup.toml b/teams/rustup.toml index 4d128d0b6..df4b9a3e1 100644 --- a/teams/rustup.toml +++ b/teams/rustup.toml @@ -22,3 +22,6 @@ description = "Designing and implementing rustup" discord-invite = "https://discord.gg/e6Q3cvu" discord-name = "#wg-rustup" repo = "https://github.com/rust-lang/rustup" + +[[github]] +orgs = ["rust-lang"] From caa7247fec71cf605ad0ccd41ff64339a523fbcb Mon Sep 17 00:00:00 2001 From: Jan David Date: Wed, 4 Oct 2023 14:15:00 +0200 Subject: [PATCH 2/2] Remove explicit permissions for mods The mods have org-wide permissions, so we don't need to set them on the individual repository as well. --- repos/rust-lang/rustup.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/repos/rust-lang/rustup.toml b/repos/rust-lang/rustup.toml index a95eeaaac..bd411a6a8 100644 --- a/repos/rust-lang/rustup.toml +++ b/repos/rust-lang/rustup.toml @@ -5,7 +5,6 @@ bots = ["rustbot"] [access.teams] rustup = "maintain" -mods = "maintain" [[branch-protections]] pattern = "master"