From ecb3fdf322154bed3bb19f1b7f04893f6b85f0e9 Mon Sep 17 00:00:00 2001 From: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> Date: Wed, 22 Feb 2023 11:16:36 -0500 Subject: [PATCH] chore: Telling owlbot to ignore these files & it's a monorepo (#1372) * chore: Telling owlbot to ignore these files & it's a monorepo --- java-common-protos/owlbot.py | 18 +++++++++++++----- java-iam/owlbot.py | 17 +++++++++++++---- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/java-common-protos/owlbot.py b/java-common-protos/owlbot.py index 0c9831271e..ffb1f932a3 100644 --- a/java-common-protos/owlbot.py +++ b/java-common-protos/owlbot.py @@ -34,9 +34,17 @@ s.move(library) s.remove_staging_dirs() -java.common_templates(excludes=[ - 'README.md', - 'samples/*', - '.github/workflows/samples.yaml', - '.kokoro/dependencies.sh', +java.common_templates(monorepo=True,excludes=[ + ".github/*", + ".kokoro/*", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "SECURITY.md", + "java.header", + "license-checks.xml", + "README.md", + "samples/*", + "renovate.json", + ".gitignore" ]) diff --git a/java-iam/owlbot.py b/java-iam/owlbot.py index a53d819dd3..dc410938cd 100644 --- a/java-iam/owlbot.py +++ b/java-iam/owlbot.py @@ -22,8 +22,17 @@ s.move(library) s.remove_staging_dirs() -java.common_templates(excludes=[ - 'README.md', - 'samples/*', - '.github/workflows/samples.yaml', +java.common_templates(monorepo=True,excludes=[ + ".github/*", + ".kokoro/*", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "SECURITY.md", + "java.header", + "license-checks.xml", + "README.md", + "samples/*", + "renovate.json", + ".gitignore" ])