Skip to content

Commit b7e0960

Browse files
committed
Add documentation to README
1 parent 86379ff commit b7e0960

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ bin/codeownership for_team 'My Team' > tmp/ownership_report.md
164164

165165
A `CODEOWNERS` file defines who owns specific files or paths in a repository. When you run `bin/codeownership validate`, a `.github/CODEOWNERS` file will automatically be generated and updated.
166166

167+
If the `CODEOWNERS_PATH` environment variable is set, codeowners will use that path to generate the `CODEOWNERS` file. For example, `CODEOWNERS=docs` will generate `docs/CODEOWNERS`.
168+
167169
## Proper Configuration & Validation
168170

169171
CodeOwnership comes with a validation function to ensure the following things are true:

0 commit comments

Comments
 (0)