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
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,22 +132,23 @@ Use the following environment variables to configure the application:
132
132
| <tt>CHECK_FAILURE_LEVEL</tt> |`warning`| Defines the level on which the application should treat check issues as failures. Defaults to `warning`, which treats both errors and warnings as failures, and exits with error code 3. Possible values are `error` and `warning`. |
133
133
| <tt>OWNER_CHECKER_REPOSITORY</tt> <b>*</b> || The owner and repository name separated by slash. For example, gh-codeowners/codeowners-samples. Used to check if GitHub owner is in the given organization. |
134
134
| <tt>OWNER_CHECKER_IGNORED_OWNERS</tt> |`@ghost`| The comma-separated list of owners that should not be validated. Example: `"@owner1,@owner2,@org/team1,example@email.com"`. |
135
-
| <tt>OWNER_CHECKER_ALLOW_UNOWNED_PATTERNS</tt> |`true`|Specifies whether CODEOWNERS may have unowned files. For example: <br> <br> `/infra/oncall-rotator/ @sre-team` <br> `/infra/oncall-rotator/oncall-config.yml` <br> <br> The `/infra/oncall-rotator/oncall-config.yml` file is not owned by anyone. |
135
+
| <tt>OWNER_CHECKER_ALLOW_UNOWNED_PATTERNS</tt> |`true`| Specifies whether CODEOWNERS may have unowned files. For example: <br> <br> `/infra/oncall-rotator/ @sre-team` <br> `/infra/oncall-rotator/oncall-config.yml` <br> <br> The `/infra/oncall-rotator/oncall-config.yml` file is not owned by anyone.|
136
136
| <tt>OWNER_CHEKER_OWNERS_MUST_BE_TEAMS</tt> |`false`| Specifies whether only teams are allowed as owners of files. |
137
137
| <tt>NOT_OWNED_CHECKER_SKIP_PATTERNS</tt> | - | The comma-separated list of patterns that should be ignored by `not-owned-checker`. For example, you can specify `*` and as a result, the `*` pattern from the **CODEOWNERS** file will be ignored and files owned by this pattern will be reported as unowned unless a later specific pattern will match that path. It's useful because often we have default owners entry at the begging of the CODOEWNERS file, e.g. `* @global-owner1 @global-owner2`|
138
-
| <tt>NOT_OWNED_CHECKER_SUBDIRECTORIES</tt> | - | The comma-separated list of subdirectories to check in `not-owned-checker`. When specified, only files in the listed subdirectories will be checked if they do not have specified owners in CODEOWNERS. |
138
+
| <tt>NOT_OWNED_CHECKER_SUBDIRECTORIES</tt> | - | The comma-separated list of subdirectories to check in `not-owned-checker`. When specified, only files in the listed subdirectories will be checked if they do not have specified owners in CODEOWNERS. |
139
+
| <tt>NOT_OWNED_CHECKER_TRUST_WORKSPACE</tt> |`false`| Specifies whether the repository path should be marked as safe. See: https://github.com/actions/checkout/issues/766.|
139
140
140
141
<b>*</b> - Required
141
142
142
143
#### Exit status codes
143
144
144
145
Application exits with different status codes which allow you to easily distinguish between error categories.
145
146
146
-
| Code | Description |
147
-
|:-----:|:------------|
148
-
|**1**| The application startup failed due to the wrong configuration or internal error. |
Copy file name to clipboardExpand all lines: action.yml
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -44,23 +44,28 @@ inputs:
44
44
default: "${{ github.repository }}"
45
45
46
46
owner_checker_ignored_owners:
47
-
description: "The comma-separated list of owners that should not be validated. Example: @owner1,@owner2,@org/team1,example@email.com."
47
+
description: "The comma-separated list of owners that should not be validated. Example: @owner1,@owner2,@org/team1,example@email.com."
48
48
required: false
49
49
50
50
owner_checker_allow_unowned_patterns:
51
-
description: "Specifies whether CODEOWNERS may have unowned files. For example, `/infra/oncall-rotator/oncall-config.yml` doesn't have owner and this is not reported."
51
+
description: "Specifies whether CODEOWNERS may have unowned files. For example, `/infra/oncall-rotator/oncall-config.yml` doesn't have owner and this is not reported."
52
52
default: "true"
53
53
required: false
54
54
55
55
owner_checker_owners_must_be_teams:
56
-
description: "Specifies whether only teams are allowed as owners of files."
56
+
description: "Specifies whether only teams are allowed as owners of files."
57
57
default: "false"
58
58
required: false
59
59
60
60
not_owned_checker_subdirectories:
61
-
description: "Only check listed subdirectories for CODEOWNERS ownership that don't have owners."
61
+
description: "Only check listed subdirectories for CODEOWNERS ownership that don't have owners."
62
62
required: false
63
63
64
+
not_owned_checker_trust_workspace:
65
+
description: "Specifies whether the repository path should be marked as safe. See: https://github.com/actions/checkout/issues/766"
0 commit comments