Skip to content

Commit c66767a

Browse files
authored
Merge pull request #1757 from rust-lang/grant-codeowners-top-level-directories
make CODEOWNERS directories more specific
2 parents fb1c3f6 + 6a59c75 commit c66767a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/CODEOWNERS

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# Data files can be approved by users with write access.
1010
# We don't list these users explicitly to avoid notifying all of them
1111
# on every change to the data files.
12-
people/**/*.toml
13-
repos/**/*.toml
14-
teams/**/*.toml
12+
/people/**/*.toml
13+
/repos/**/*.toml
14+
/teams/**/*.toml
1515

1616
# Do not require admin approvals for Markdown file modifications.
1717
*.md

src/ci.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ fn generate_codeowners_content(data: Data) -> String {
126126
# Data files can be approved by users with write access.
127127
# We don't list these users explicitly to avoid notifying all of them
128128
# on every change to the data files.
129-
people/**/*.toml
130-
repos/**/*.toml
131-
teams/**/*.toml
129+
/people/**/*.toml
130+
/repos/**/*.toml
131+
/teams/**/*.toml
132132
133133
# Do not require admin approvals for Markdown file modifications.
134134
*.md

0 commit comments

Comments
 (0)