Skip to content

Commit 0849276

Browse files
authored
Add CODEOWNERS with a pattern for the wall-of-shame files ownership
Each file in the wall-of-shame directory is owned and can be modified and deleted by the person who reported the project and @mariha as a backup.
1 parent 8f92240 commit 0849276

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/CODEOWNERS

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# The owner(s) will be requested for review when someone opens a pull request.
2+
# Users must have explicit 'write' access to the repository to be a codeowner.
3+
# A user can be referred by a username or by an email address that has been added to their account.
4+
#
5+
# Order is important! The last matching pattern takes the most precedence.
6+
#
7+
8+
* @mariha
9+
10+
/wall-of-shame/karrot.world.md @mariha @mariha
11+
/wall-of-shame/SolidCouch.md @mariha @mariha
12+
/wall-of-shame/SolidProject-ecosystem.md @mariha @mariha
13+
14+
# Better safe than sorry
15+
/.github/CODEOWNERS @mariha
16+
17+
18+
19+
# -----------------------------
20+
# E X A M P L E S
21+
# -----------------------------
22+
#
23+
# In this example, @doctocat owns any files in the build/logs directory at the root of the repository and any of its subdirectories.
24+
# /build/logs/ @doctocat
25+
#
26+
# The `docs/*` pattern will match files like `docs/getting-started.md` but not further nested files like `docs/build-app/troubleshooting.md`.
27+
# docs/* docs@example.com
28+
#
29+
# In this example, @octocat owns any file in an apps directory anywhere in your repository.
30+
# apps/ @octocat
31+
#
32+
# In this example, @doctocat owns any file in the `/docs` directory in the root of your repository and any of its subdirectories.
33+
# /docs/ @doctocat
34+
#
35+
# In this example, any change inside the `/scripts` directory will require approval from @doctocat or @octocat.
36+
# /scripts/ @doctocat @octocat
37+
#
38+
# In this example, @octocat owns any file in a `/logs` directory such as `/build/logs`, `/scripts/logs`, and `/deeply/nested/logs`. Any changes in a `/logs` directory will require approval from @octocat.
39+
# **/logs @octocat
40+
#
41+
# In this example, @octocat owns any file in the `/apps` directory in the root of your repository except for the `/apps/github` subdirectory, as its owners are left empty. Without an owner, changes to `apps/github` can be made with the approval of any user who has write access to the repository.
42+
# /apps/ @octocat
43+
# /apps/github
44+
#
45+
# In this example, @octocat owns any file in the `/apps` directory in the root of your repository except for the `/apps/github` subdirectory, as this subdirectory has its own owner @doctocat
46+
# /apps/ @octocat
47+
# /apps/github @doctocat

0 commit comments

Comments
 (0)