Skip to content

Commit 9127e1a

Browse files
authored
Merge pull request #1923 from rust-lang/team-access-refers-to-team-name-of-toml-instead-of-github
team access refers to team name of toml instead of github
2 parents 1427024 + c0ca507 commit 9127e1a

18 files changed

+74
-41
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
/teams/team-repo-admins.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2525
/people/Mark-Simulacrum.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2626
/people/Nadrieril.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
27+
/people/Noratrieb.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
28+
/people/apiraino.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2729
/people/jackh726.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2830
/people/jdno.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
31+
/people/jieyouxu.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
2932
/people/marcoieni.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
3033
/people/oli-obk.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni
3134
/people/pietroalbini.toml @Mark-Simulacrum @pietroalbini @jdno @marcoieni

docs/toml-schema.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,10 @@ See [GitHub's documentation][github-roles] for information on what each role is
329329
# - "write"
330330
# - "maintain"
331331
# - "admin"
332+
#
333+
# Instead of showing the team name, the API contains the names of all the GitHub teams
334+
# in the `[[github]]` list of the team TOML file.
335+
# In other words, the teams are "expanded" to their corresponding GitHub teams.
332336
[access.teams]
333337
compiler = "write"
334338

@@ -365,8 +369,8 @@ pattern = "master"
365369
# Which CI checks to are required for merging (optional)
366370
# Cannot be set if `pr-required` is `false`.
367371
ci-checks = ["CI"]
368-
# Whether new commits after a reviewer's approval of a PR
369-
# merging into this branch require another review.
372+
# Whether new commits after a reviewer's approval of a PR
373+
# merging into this branch require another review.
370374
# (optional - default `false`)
371375
dismiss-stale-review = false
372376
# Is a PR required when making changes to this branch?

repos/rust-lang/async-crashdump-debugging-initiative.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description = ""
44
bots = []
55

66
[access.teams]
7-
initiative-async-crashdump-debugging = "write"
7+
project-async-crashdump-debugging = "write"

repos/rust-lang/discord-mods-bot.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description = "discord moderation bot"
44
bots = []
55

66
[access.teams]
7-
mods = "maintain"
7+
mods-venue = "maintain"

repos/rust-lang/dyn-upcasting-coercion-initiative.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description = "Initiative to support upcasting dyn Trait values to supertraits"
44
bots = []
55

66
[access.teams]
7-
initiative-dyn-upcasting = "write"
7+
project-dyn-upcasting = "write"

repos/rust-lang/generic-associated-types-initiative.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ homepage = "https://rust-lang.github.io/generic-associated-types-initiative/"
55
bots = []
66

77
[access.teams]
8-
initiative-generic-associated-types = "write"
8+
project-generic-associated-types = "write"

repos/rust-lang/impl-trait-initiative.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ homepage = "https://rust-lang.github.io/impl-trait-initiative/"
55
bots = []
66

77
[access.teams]
8-
initiative-impl-trait = "maintain"
8+
project-impl-trait = "maintain"

repos/rust-lang/keyword-generics-initiative.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ homepage = "https://rust-lang.github.io/keyword-generics-initiative/"
55
bots = []
66

77
[access.teams]
8-
initiative-keyword-generics = "write"
8+
project-keyword-generics = "write"

repos/rust-lang/moderation-team.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description = "Home of the Rust Moderation team."
44
bots = []
55

66
[access.teams]
7-
mods = "write"
7+
mods-venue = "write"

repos/rust-lang/negative-impls-initiative.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description = "Lang team negative impls initiative"
44
bots = []
55

66
[access.teams]
7-
initiative-negative-impls = "write"
7+
project-negative-impls = "write"

0 commit comments

Comments
 (0)