From e10f8a8038b762cb16a9134da09d7cf3ba21a700 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 9 Jan 2025 17:46:55 -0500 Subject: [PATCH] chore: add generation of pb2 files via owlbot/bazel (#328) * chore: remove pb2 file generation during post processing step * chore: add generation of pb2 files via owlbot/bazel --- packages/google-cloud-org-policy/.github/.OwlBot.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-org-policy/.github/.OwlBot.yaml b/packages/google-cloud-org-policy/.github/.OwlBot.yaml index 807197493a21..f3e8b67b7e40 100644 --- a/packages/google-cloud-org-policy/.github/.OwlBot.yaml +++ b/packages/google-cloud-org-policy/.github/.OwlBot.yaml @@ -15,15 +15,13 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest -# See https://github.com/googleapis/python-org-policy/issues/22 -deep-preserve-regex: - - /owl-bot-staging/v1 - deep-remove-regex: - /owl-bot-staging deep-copy-regex: - - source: /google/cloud/orgpolicy/(v.*)/.*-py/(.*) + - source: /google/cloud/orgpolicy/(v1)/.*-py/(orgpolicy.*) + dest: /owl-bot-staging/$1/google/cloud/orgpolicy/v1/$2 + - source: /google/cloud/orgpolicy/(v2)/.*-py/(.*) dest: /owl-bot-staging/$1/$2 begin-after-commit-hash: b06c9034cfcbce180ba732d03be6526e5c8ea1bc