|
| 1 | +# This is a comment. |
| 2 | +# Each line is a file pattern followed by one or more owners. |
| 3 | + |
| 4 | +# These owners will be the default owners for everything in |
| 5 | +# the repo. Unless a later match takes precedence, |
| 6 | +# @global-owner1 and @global-owner2 will be requested for |
| 7 | +# review when someone opens a pull request. |
| 8 | +* @tooniez |
| 9 | + |
| 10 | +# Order is important; the last matching pattern takes the most |
| 11 | +# precedence. When someone opens a pull request that only |
| 12 | +# modifies JS files, only @js-owner and not the global |
| 13 | +# owner(s) will be requested for a review. |
| 14 | +*.js @tooniez #This is an inline comment. |
| 15 | + |
| 16 | +# You can also use email addresses if you prefer. They'll be |
| 17 | +# used to look up users just like we do for commit author |
| 18 | +# emails. |
| 19 | +# *.go docs@example.com |
| 20 | + |
| 21 | +# Teams can be specified as code owners as well. Teams should |
| 22 | +# be identified in the format @org/team-name. Teams must have |
| 23 | +# explicit write access to the repository. In this example, |
| 24 | +# the octocats team in the octo-org organization owns all .txt files. |
| 25 | +# *.txt @octo-org/octocats |
| 26 | +*.md @tooniez |
| 27 | + |
| 28 | +# In this example, @doctocat owns any files in the build/logs |
| 29 | +# directory at the root of the repository and any of its |
| 30 | +# subdirectories. |
| 31 | +# /build/logs/ @doctocat |
| 32 | + |
| 33 | +# The `docs/*` pattern will match files like |
| 34 | +# `docs/getting-started.md` but not further nested files like |
| 35 | +# `docs/build-app/troubleshooting.md`. |
| 36 | +# docs/* docs@example.com |
| 37 | + |
| 38 | +# In this example, @octocat owns any file in an apps directory |
| 39 | +# anywhere in your repository. |
| 40 | +# apps/ @octocat |
| 41 | + |
| 42 | +# In this example, @doctocat owns any file in the `/docs` |
| 43 | +# directory in the root of your repository and any of its |
| 44 | +# subdirectories. |
| 45 | +# /docs/ @doctocat |
| 46 | + |
| 47 | +# In this example, any change inside the `/scripts` directory |
| 48 | +# will require approval from @doctocat or @octocat. |
| 49 | +# /scripts/ @doctocat @octocat |
| 50 | + |
| 51 | +# In this example, @octocat owns any file in a `/logs` directory such as |
| 52 | +# `/build/logs`, `/scripts/logs`, and `/deeply/nested/logs`. Any changes |
| 53 | +# in a `/logs` directory will require approval from @octocat. |
| 54 | +# **/logs @octocat |
| 55 | + |
| 56 | +# In this example, @octocat owns any file in the `/apps` |
| 57 | +# directory in the root of your repository except for the `/apps/github` |
| 58 | +# subdirectory, as its owners are left empty. |
| 59 | +# /apps/ @octocat |
| 60 | +# /apps/github |
0 commit comments