Skip to content

Grant rustfmt team write access to rust-lang/rust #1948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 15, 2025

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Aug 15, 2025

rustfmt team already has bors r+ permissions on rust-lang/rust.

team/teams/rustfmt.toml

Lines 19 to 21 in b10e726

[permissions]
# Primarily for subtree syncs and other rustfmt-related review.
bors.rust.review = true

They should receive write access too, otherwise weird situations like "rustfmt team members can approve a PR, but can't even get assigned" happens. Noticed this in rust-lang/rust#144323 (comment). Same thing as #1841 (but that was for r-a team).

cc @ytmimi

calebcartwright was assignable already because both testing-devex and style teams have write access to r-l/r already, and they're a member of those teams.

FYI @rust-lang/rustfmt

cc #1842

rustfmt team already has bors r+ permissions on `rust-lang/rust`, they
should receive write access too, otherwise weird situations like
"rustfmt team members can approve a PR, but can't even get assigned"
happens.
@jieyouxu jieyouxu added needs-infra-admin-review This change requires one of the `infra-admins` to review. needs-team-repo-admin-review This change requires one of the `team-repo-admins` to review. S-waiting-on-review Status: waiting on review from a team/WG/PG lead, an infra-admin, and/or a team-repo-admin. labels Aug 15, 2025
Copy link

Dry-run check results

[WARN  sync_team] sync-team is running in dry mode, no changes will be applied.
[INFO  sync_team] synchronizing github
[INFO  sync_team] 💻 Repo Diffs:
    📝 Editing repo 'rust-lang/rust':
      Permission Changes:
        Giving team 'rustfmt' write permission

@Mark-Simulacrum Mark-Simulacrum added this pull request to the merge queue Aug 15, 2025
Merged via the queue into rust-lang:master with commit eca1e06 Aug 15, 2025
3 checks passed
@jieyouxu jieyouxu deleted the rustfmt branch August 15, 2025 16:01
@ytmimi
Copy link
Contributor

ytmimi commented Aug 21, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-infra-admin-review This change requires one of the `infra-admins` to review. needs-team-repo-admin-review This change requires one of the `team-repo-admins` to review. S-waiting-on-review Status: waiting on review from a team/WG/PG lead, an infra-admin, and/or a team-repo-admin.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants