From 390d92d351376d7381eb28d23c2ba08c745cccca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Wed, 16 Sep 2026 11:22:40 +0200 Subject: [PATCH 1/2] Give the Rustup team access to `rustup-components-history` --- repos/rust-lang/rustup-components-history.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/rust-lang/rustup-components-history.toml b/repos/rust-lang/rustup-components-history.toml index b85e5e0f7..de342de38 100644 --- a/repos/rust-lang/rustup-components-history.toml +++ b/repos/rust-lang/rustup-components-history.toml @@ -11,5 +11,6 @@ path = "/" [access.teams] infra = "write" +rustup = "write" [environments.github-pages] From a4437e4c8ff0577fdf699d424b128287b3870283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Wed, 16 Sep 2026 20:01:53 +0200 Subject: [PATCH 2/2] Add branch protection and use modern GitHub Pages workflow --- repos/rust-lang/rustup-components-history.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/repos/rust-lang/rustup-components-history.toml b/repos/rust-lang/rustup-components-history.toml index de342de38..2524bafcc 100644 --- a/repos/rust-lang/rustup-components-history.toml +++ b/repos/rust-lang/rustup-components-history.toml @@ -5,12 +5,15 @@ homepage = "https://rust-lang.github.io/rustup-components-history" bots = [] [pages] -build-type = "legacy" -branch = "gh-pages" -path = "/" +build-type = "workflow" [access.teams] infra = "write" rustup = "write" [environments.github-pages] + +[[rulesets]] +pattern = "main" +ci-checks = ["build"] +required-approvals = 0