diff --git a/packages/google-cloud-phishingprotection/.github/.OwlBot.yaml b/packages/google-cloud-phishingprotection/.github/.OwlBot.yaml index a7700a0fbb1..40c1ffe9788 100644 --- a/packages/google-cloud-phishingprotection/.github/.OwlBot.yaml +++ b/packages/google-cloud-phishingprotection/.github/.OwlBot.yaml @@ -13,16 +13,8 @@ # limitations under the License. docker: image: gcr.io/repo-automation-bots/owlbot-nodejs:latest -copy-dirs: - - source: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/src/* - dest: /src - # strip-prefix: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/src - - source: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/protos/google/cloud/phishingprotection/* - dest: /protos/google/cloud - # strip-prefix: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/protos/google/cloud/phishingprotection - - source: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/test/* - dest: /test - # strip-prefix: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/test - - source: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/system-test/* - dest: / - # strip-prefix: /google/cloud/phishingprotection/*/phishingprotection-*-nodejs/ + +deep-copy-regex: + - source: /google/cloud/phishingprotection/.*/phishingprotection-.*-nodejs/src/(.*) + dest: /src/$1 + rm-dest: /src/.*