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