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