diff --git a/eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml b/eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml index cffdc564f826b..f96cd36dc8112 100644 --- a/eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml +++ b/eng/common/pipelines/templates/steps/verify-restapi-spec-location.yml @@ -22,3 +22,4 @@ steps: displayName: Verify REST API spec location for "${{ parameters.PackageName }}" env: GH_TOKEN: $(azuresdk-github-pat) + condition: and(succeededOrFailed(), ne(variables['Skip.Verify-RestApiSpecLocation'], 'true'))