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" ])