You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aid="codeowners-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
26
-
| <aid="codeowners-pattern"></a>pattern | A pattern of files (eg: '*.bzl') that the team(s) should get ownership of. In the generated CODEOWNERS, the path to this target will be prepended to the pattern. | String | optional |""|
27
-
| <aid="codeowners-patterns"></a>patterns | A list of patterns, one row will be printed per pattern. See docs of <code>pattern</code> for more info. | List of strings | optional |[]|
28
-
| <aid="codeowners-team"></a>team | The GitHub team that should get ownership of the matching files. One of team and teams must be set. | String | optional |""|
29
-
| <aid="codeowners-teams"></a>teams | A list of the GitHub teams that should get ownership of the matching files. One of team and teams must be set. | List of strings | optional |[]|
24
+
| <aid="codeowners-pattern"></a>pattern | A pattern of files (eg: '*.bzl') that the team(s) should get ownership of. In the generated CODEOWNERS, the path to this target will be prepended to the pattern. | String | optional |`""`|
25
+
| <aid="codeowners-patterns"></a>patterns | A list of patterns, one row will be printed per pattern. See docs of `pattern` for more info. | List of strings | optional |`[]`|
26
+
| <aid="codeowners-team"></a>team | The GitHub team that should get ownership of the matching files. One of team and teams must be set. | String | optional |`""`|
27
+
| <aid="codeowners-teams"></a>teams | A list of the GitHub teams that should get ownership of the matching files. One of team and teams must be set. | List of strings | optional |`[]`|
30
28
31
29
32
30
<aid="generate_codeowners"></a>
@@ -37,17 +35,15 @@ A codeowners-rule represents one or many rows in a CODEOWNERS file.
| <aid="generate_codeowners-name"></a>name | A unique name for this target. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
50
-
| <aid="generate_codeowners-generated_comment"></a>generated_comment | A comment to insert at the top of the generated file | String | optional | "# This file was generated by rules_codeowners / Bazel. Don't edit it directly" |
46
+
| <aid="generate_codeowners-generated_comment"></a>generated_comment | A comment to insert at the top of the generated file | String | optional |`"# This file was generated by rules_codeowners / Bazel. Don't edit it directly"`|
51
47
| <aid="generate_codeowners-owners"></a>owners | A list of codeowners and generate_codeowners. One generate_codeowners can include another generate_codeowners to achieve nested rules. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | required ||
0 commit comments