Skip to content

Commit

Permalink
refactor: new regex format for .OwlBot.yaml (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
SurferJeffAtGoogle authored Feb 25, 2021
1 parent afe553d commit 28a6216
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions packages/google-cloud-phishingprotection/.github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/.*

0 comments on commit 28a6216

Please sign in to comment.