Document how to skip the code owner config validation with CherryPick API Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I04f9e456bcd060c96c8e6c84d1317f09f1a7f8a7
diff --git a/resources/Documentation/validation.md b/resources/Documentation/validation.md index d7a5548..be2c40d 100644 --- a/resources/Documentation/validation.md +++ b/resources/Documentation/validation.md
@@ -107,6 +107,13 @@ the [ChangeInput](../../../Documentation/rest-api-changes.html#change-input) (see field `validation_options`). +Similarly, for the [Cherry Pick +Revision](../../../Documentation/rest-api-changes.html#cherry-pick) REST endpoint +skipping the code owner config validation is possible by setting +`code-owners~skip-validation` with the value `true` as a validation option in +the [CherryPickInput](../../../Documentation/rest-api-changes.html#cherrypick-input) +(see field `validation_options`). + Using the push option or the validation option requires the calling user to have the `Can Skip Code Owner Config Validation` global capability. Host administrators have this capability implicitly assigned via the `Administrate