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