Commit 982a1d62 authored by Kyle Wiebers's avatar Kyle Wiebers Committed by Amy Qualls

Add a documentation example for code owners rules with **

parent dda57adf
...@@ -254,6 +254,11 @@ README @group @group/with-nested/subgroup ...@@ -254,6 +254,11 @@ README @group @group/with-nested/subgroup
# `docs/index.md` but not `docs/projects/index.md`: # `docs/index.md` but not `docs/projects/index.md`:
/docs/* @root-docs /docs/* @root-docs
# Include `/**` to specify Code Owners for all subdirectories
# in a directory. This rule matches `docs/projects/index.md` or
# `docs/development/index.md`
/docs/**/*.md @root-docs
# This code makes matches a `lib` directory nested anywhere in the repository: # This code makes matches a `lib` directory nested anywhere in the repository:
lib/ @lib-owner lib/ @lib-owner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment