Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/toml-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,20 @@ allowed-merge-teams = ["awesome-team"]
merge-bots = ["homu"]
```

### Repository environments

GitHub environments are used to configure deployment protection rules and secrets for GitHub Actions workflows. This repository can manage environment names for repositories.

```toml
# The environments in this repository (optional)
[[environments]]
# The name of the environment (required)
name = "production"

[[environments]]
name = "staging"
```

### Crates.io trusted publishing
Configure crates.io Trusted Publishing for crates published from a given repository from GitHub Actions.

Expand Down
4 changes: 4 additions & 0 deletions repos/rust-analyzer/metrics.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []

[access.teams]
rust-analyzer = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-analyzer/rust-analyzer.github.io.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []

[access.teams]
rust-analyzer = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang-nursery/lazy-static.rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
libs = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang-nursery/rust-cookbook.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []
[access.teams]
cookbook = "write"
lang-docs = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang-nursery/rust-lang-nursery.github.io.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
infra = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang-nursery/rust-toolstate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ infra = "write"
[[branch-protections]]
pattern = "master"
pr-required = false

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/a-mir-formality.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ lang = "maintain"
lang-ops = "maintain"
lang-docs = "maintain"
types = "maintain"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/api-guidelines.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ bots = []
[access.teams]
libs-api = "write"
libs = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/ar_archive_writer.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
compiler = "write"

[[environments]]
name = "publish"

4 changes: 4 additions & 0 deletions repos/rust-lang/areweasyncyet.rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ wg-async = "write"

[access.individuals]
upsuper = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/arewewebyet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ arewewebyet = "maintain"

[[branch-protections]]
pattern = 'master'

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/async-book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []

[access.teams]
wg-async = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/async-crashdump-debugging-initiative.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
project-async-crashdump-debugging = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/async-fundamentals-initiative.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ wg-async = "maintain"
[[branch-protections]]
pattern = "master"
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/backtrace-rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ crate-maintainers = 'maintain'

[[branch-protections]]
pattern = 'master'

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/blog.rust-lang.org.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ ci-checks = [
"lint",
"build",
]

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ book = "maintain"
pattern = "main"
ci-checks = []
required-approvals = 0

[[environments]]
name = "github-pages"

13 changes: 13 additions & 0 deletions repos/rust-lang/bors-kindergarten.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ bots = ["rustbot"]
[access.teams]
infra = "write"
infra-bors = "write"

[[environments]]
name = "bors"

[[environments]]
name = "ci"

[[environments]]
name = "production"

[[environments]]
name = "staging"

7 changes: 7 additions & 0 deletions repos/rust-lang/bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ infra-bors = "write"
pattern = "main"
ci-checks = ["Test", "Test Docker"]
required-approvals = 0

[[environments]]
name = "production"

[[environments]]
name = "staging"

4 changes: 4 additions & 0 deletions repos/rust-lang/calendar.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ wg-async = "maintain"
[[branch-protections]]
pattern = "main"
pr-required = false

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/cargo-bisect-rustc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ ehuss = "write"
[[branch-protections]]
pattern = "master"
required-approvals = 0

[[environments]]
name = "github-pages"

7 changes: 7 additions & 0 deletions repos/rust-lang/cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ ci-checks = ["conclusion"]
[[branch-protections]]
pattern = "rust-1.*"
ci-checks = ["conclusion"]

[[environments]]
name = "github-pages"

[[environments]]
name = "release"

7 changes: 7 additions & 0 deletions repos/rust-lang/cc-rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ ci-checks = ['Tests pass']
crates = ["cc", "find-msvc-tools"]
workflow-filename = "publish.yml"
environment = "publish"

[[environments]]
name = "github-pages"

[[environments]]
name = "publish"

4 changes: 4 additions & 0 deletions repos/rust-lang/cfg-if.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
crate-maintainers = 'maintain'

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/chalk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = ["rustbot"]

[access.teams]
types = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/ci-mirrors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ infra = "write"
pattern = "main"
ci-checks = ["Build finished"]
dismiss-stale-review = true

[[environments]]
name = "upload"

4 changes: 4 additions & 0 deletions repos/rust-lang/cmake-rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ crate-maintainers = 'maintain'
pattern = "master"
ci-checks = ['success']
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/compiler-team.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ types = "write"
[[branch-protections]]
pattern = "master"
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/const-eval.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
wg-const-eval = "write"

[[environments]]
name = "github-pages"

7 changes: 7 additions & 0 deletions repos/rust-lang/crates.io.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ bots = ["renovate", "rustbot", "heroku-deploy-access"]

[access.teams]
crates-io = "write"

[[environments]]
name = "crates-io"

[[environments]]
name = "staging-crates-io"

4 changes: 4 additions & 0 deletions repos/rust-lang/crates_io_og_image.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ crates-io = "write"
pattern = "main"
required-approvals = 0
pr-required = false

[[environments]]
name = "release"

4 changes: 4 additions & 0 deletions repos/rust-lang/dyn-upcasting-coercion-initiative.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ bots = []

[access.teams]
project-dyn-upcasting = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/edition-guide.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ edition = "maintain"
pattern = "master"
ci-checks = ["Success gate"]
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/enzyme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ pr-required = false
[[branch-protections]]
pattern = "master"
pr-required = false

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/flate2-rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ crate-maintainers = 'maintain'

[[branch-protections]]
pattern = 'main'

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/fls.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ spec-contributors = "triage"
[[branch-protections]]
pattern = "main"
ci-checks = ["CI finished"]

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/futures-rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ wg-async = "write"
[[branch-protections]]
pattern = "master"
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/generic-associated-types-initiative.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []

[access.teams]
project-generic-associated-types = "write"

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/getopts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []

[access.teams]
crate-maintainers = 'maintain'

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/gha-self-hosted.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ infra = "write"
[[branch-protections]]
pattern = "main"
ci-checks = ["CI finished"]

[[environments]]
name = "upload"

4 changes: 4 additions & 0 deletions repos/rust-lang/git2-rs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ cargo = "write"
pattern = "master"
ci-checks = ["Success gate"]
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/glob.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ crate-maintainers = "maintain"
pattern = "master"
ci-checks = ["success"]
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/hashbrown.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ libs-contributors = "write"
pattern = "master"
ci-checks = ["conclusion"]
required-approvals = 0

[[environments]]
name = "github-pages"

4 changes: 4 additions & 0 deletions repos/rust-lang/impl-trait-initiative.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ bots = []

[access.teams]
project-impl-trait = "maintain"

[[environments]]
name = "github-pages"

Loading
Loading