From dcb355dfaab297c25e16a346679bd2a873114cf9 Mon Sep 17 00:00:00 2001 From: Jan David Date: Thu, 5 Oct 2023 10:09:11 +0200 Subject: [PATCH] Add rustup repository (#1090) * 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. * 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 | 10 ++++++++++ teams/rustup.toml | 3 +++ 2 files changed, 13 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..bd411a6a8 --- /dev/null +++ b/repos/rust-lang/rustup.toml @@ -0,0 +1,10 @@ +org = "rust-lang" +name = "rustup" +description = "The Rust toolchain installer" +bots = ["rustbot"] + +[access.teams] +rustup = "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"]