Document how to skip the code owner config validation with Rebase API Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ic75f6e7218158bfb77ac1c9d1a94ebdde3c283c7
diff --git a/resources/Documentation/validation.md b/resources/Documentation/validation.md index be2c40d..ae1f60f 100644 --- a/resources/Documentation/validation.md +++ b/resources/Documentation/validation.md
@@ -101,18 +101,13 @@ the code owner config validation on push: `git push -o code-owners~skip-validation origin HEAD:refs/for/master` -For the [Create Change](../../../Documentation/rest-api-changes.html#create-change) -REST endpoint skipping the code owner config validation is possible by setting +For the [Create +Change](../../../Documentation/rest-api-changes.html#create-change), the [Cherry +Pick Revision](../../../Documentation/rest-api-changes.html#cherry-pick) and the +[Rebase](../../../Documentation/rest-api-changes.html#rebase-change) REST +endpoints skipping the code owner config validation is possible by setting `code-owners~skip-validation` with the value `true` as a validation option in -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`). +the 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