README.md in code_ownership-1.32.19 vs README.md in code_ownership-1.33.0

- old
+ new

@@ -19,9 +19,18 @@ enforce_privacy: true metadata: owner: Team ``` +You can also define `owner` as a top-level key, e.g. +```yml +enforce_dependency: true +enforce_privacy: true +owner: Team +``` + +To do this, add `code_ownership` to the `require` key of your `packwerk.yml`. See https://github.com/Shopify/packwerk/blob/main/USAGE.md#loading-extensions for more information. + ### Glob-Based Ownership In your team's configured YML (see [`code_teams`](https://github.com/rubyatscale/code_teams)), you can set `owned_globs` to be a glob of files your team owns. For example, in `my_team.yml`: ```yml name: My Team owned_globs: