From 41101c580368705f5d0273a7aaf460327b200933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Sun, 11 Oct 2026 16:14:38 +0200 Subject: [PATCH] Switch `getopts` to trusted publishing and rename its default branch to `main` --- repos/rust-lang/getopts.toml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/repos/rust-lang/getopts.toml b/repos/rust-lang/getopts.toml index df4eef9ac..c0e0aaed3 100644 --- a/repos/rust-lang/getopts.toml +++ b/repos/rust-lang/getopts.toml @@ -1,6 +1,6 @@ -org = 'rust-lang' -name = 'getopts' -description = 'The getopts repo maintained by the rust-lang project' +org = "rust-lang" +name = "getopts" +description = "The getopts repo maintained by the rust-lang project" homepage = "https://docs.rs/getopts" bots = [] @@ -10,6 +10,15 @@ branch = "gh-pages" path = "/" [access.teams] -crate-maintainers = 'maintain' +crate-maintainers = "maintain" [environments.github-pages] + +[environments.publish] +branches = ["main"] + +[[crates-io]] +crates = ["getopts"] +publish-workflow = "publish.yaml" +publish-environment = "publish" +teams = ["crate-maintainers"]